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

Overdrive Chapter Metadata #24

Open
RunTheGambit opened this issue Jan 19, 2023 · 2 comments
Open

Overdrive Chapter Metadata #24

RunTheGambit opened this issue Jan 19, 2023 · 2 comments

Comments

@RunTheGambit
Copy link

RunTheGambit commented Jan 19, 2023

I love this docker and the automated workflow you have put together. The only thing I am struggling with is the Chapter Metadata.
m4b-tool has the capability to read the Overdrive Metadata, but even after removing "--use-filenames-as-chapters --no-chapter-reindexing" from line 109 of the auto-m4b-tool.sh file in the container, it still ignores/removes all chapters and only uses the filenames. I know that m4b-tool had issues in the past reading them, but i pulled the latest version and ran it on the same file and it picked up ok.

I also tried the beets-audible, but was not having much luck finding matches with chapter data so I figured I would fall back to the chapter data that was in the file all along.

Any help you could offer would be appreciated!

EDIT 1/19/23

I confirmed the issue again by following these steps:

  • stopped and removed all containers and images
  • rebuilt the image
  • removed the "--use-filenames-as-chapters --no-chapter-reindexing" entries from the auto-m4b-tool.sh
  • Commited changes
  • re-ran compose file
  • reopened auto-m4b-tool.sh and confirmed changes were applied.
  • exited file without making changes
  • added a fresh copy of the same file to recentAdded
  • after it completed issue persists
  • Can confirm configuration was applied because chapter numbers were reindexed and removed the "chapter" from the beginning of the chapter (attached chapter file)

Aftermath.chapters.txt

@myrison
Copy link

myrison commented Jun 2, 2024

I'm not sure if this is the same issue you were having, but the repo did offer a way to add customized chapters as a second step in the conversion & merge process.

However, this didn't work for me in practice because (I think) there was a typo in the formatting of the command to apply new chapters. I just submitted a PR that fixes this issue so that at least you could apply a custom chapter list as second step in your conversion process to get them set correctly. (if you found another way to do this since the time of your original post, I'd be interested as this is a part of my process I'm trying to improve as well).

What I'm doing now is...

  • Use this docker to merge files into m4b.
  • Use audiobookshelf to match the books and download the chapter info into a metadata.json file.
  • Extracting the chapter data from metadata.json into bookname.chapters.txt and storing it in the original folder with the m4b file. Moving this folder back to /temp/merge and letting this docker process the file again and apply custom chapter names. (I have another script I use to do this I can put on GH if anyone else is interested in this)

It's not the most efficient process, but it does work.

@cerinawithasea
Copy link

cerinawithasea commented Nov 14, 2024

Since this is still open and we no longer have the overdrive metadata in the odms i have been searching and this might be our best bet for making chapters from libby (i could be biased i already use and love the docker) maybe if some of you smartie pants put ypur heads together. at this pount the only idea i hace is to use the times on the download page but im not sure how perfect those are
image
over 50 chapters and 10 files just like presonus
image

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

No branches or pull requests

3 participants