Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support updating chapter names in M4B #22

Open
SenorSmartyPants opened this issue May 21, 2022 · 3 comments
Open

Feature Request: Support updating chapter names in M4B #22

SenorSmartyPants opened this issue May 21, 2022 · 3 comments
Labels
Blocked On Upstream Blocked on changes to Beets

Comments

@SenorSmartyPants
Copy link
Contributor

Chapter metadata is stored in the M4B, not as separate files. If possible, (not sure if beets is capable of editing this metadata, perhaps @seanap would know ) it would be great to update chapter names with the names from audnexus if the chapter time marks are within a small margin of error.

Existing chapter (ffprobe output)

    Chapter #0:7: start 8412.031000, end 10245.433000
      Metadata:
        title           : 6

Audnexus chapter data

{
  lengthMs: 1833401,
  startOffsetMs: 8414167,
  startOffsetSec: 8414,
  title: "6. Loopholes"
},

Start time difference is 2136ms, length difference is 1ms
ffprobe length 10245433 - 8412031 = 1833402ms

Only update the titles, not the start times.

@SenorSmartyPants
Copy link
Contributor Author

Ideally this could be run manually as well as optionally during import. Manually so the chapters could be compared with audnexus data on the off chance that existing M4B chapters are more detailed.

@Neurrone
Copy link
Owner

This would require a huge rearchitecting of how Beets works to support the concept of how m4b files can contain tracks (i.e, multiple tracks in one file). See beetbox/beets#4269 for details.

@Neurrone Neurrone added the Blocked On Upstream Blocked on changes to Beets label May 22, 2022
@SenorSmartyPants
Copy link
Contributor Author

Understandable. Thanks for let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked On Upstream Blocked on changes to Beets
Projects
None yet
Development

No branches or pull requests

2 participants