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

Not adding metadata to the output file #244

Closed
filippoteso opened this issue Aug 2, 2023 · 6 comments
Closed

Not adding metadata to the output file #244

filippoteso opened this issue Aug 2, 2023 · 6 comments

Comments

@filippoteso
Copy link

filippoteso commented Aug 2, 2023

I tried merging .mp3 files in a .m4b audiobook on Windows, using the system command prompt, but the output file has no metadata, cover image, or description.

OS: Windows 11 Pro 21H2 (x64)
Command: php m4b-tool.phar merge --name="The Two Towers" --series="The Lord of the Rings" --series-part="2" --output-file="C:\Users\Utente\Desktop\Libri e audiolibri\Audiolibri m4b\Fantasy\J. R. R. Tolkien\The Lord of the Rings\2 - The Two Towers\The Two Towers.m4b" "C:\Users\Utente\Desktop\Libri e audiolibri\Audiolibri m4b\Fantasy\J. R. R. Tolkien\The Lord of the Rings\2 - The Two Towers"

I also tried to force the metadata, but to no avail:
Command: php m4b-tool.phar merge --name="The Two Towers" --artist="Rob Inglis" --series="The Lord of the Rings" --series-part="2" --genre="Fantasy" --writer="J. R. R. Tolkien" --year="1990" --cover="cover.jpg" --description="description.txt" --output-file="C:\Users\Utente\Desktop\Libri e audiolibri\Audiolibri m4b\Fantasy\J. R. R. Tolkien\The Lord of the Rings\2 - The Two Towers\The Two Towers.m4b" "C:\Users\Utente\Desktop\Libri e audiolibri\Audiolibri m4b\Fantasy\J. R. R. Tolkien\The Lord of the Rings\2 - The Two Towers"

cover.jpg
description.txt

@sandreas
Copy link
Owner

sandreas commented Aug 2, 2023

Which version are you using?
You could try to use --debug to get more info what is going wrong.

@filippoteso
Copy link
Author

filippoteso commented Aug 2, 2023

Thanks for replying, I'm using m4b-tool v.0.4.2

I tried running:
php m4b-tool.phar merge --debug --name="The Two Towers" --series="The Lord of the Rings" --series-part="2" --output-file="C:\Users\Utente\Desktop\Libri e audiolibri\Audiolibri m4b\Fantasy\J. R. R. Tolkien\The Lord of the Rings\2 - The Two Towers\The Two Towers.m4b" "C:\Users\Utente\Desktop\Libri e audiolibri\Audiolibri m4b\Fantasy\J. R. R. Tolkien\The Lord of the Rings\2 - The Two Towers"

... and I got this: The Two Towers (debug).log

@sandreas
Copy link
Owner

sandreas commented Aug 2, 2023

Try upgrading to latest pre-release
Should fix your issues
Instructions on the releases page

@filippoteso
Copy link
Author

filippoteso commented Aug 2, 2023

Trying it rn, will update this comment after it finishes running.

edit: it worked just fine, thank you @sandreas !

@filippoteso
Copy link
Author

Sorry to reopen the issue but I have created a satisfactory audiobook to which I already added a lot of metadata (mostly sorting) via the iTunes app for Windows. I’d like to rename some chapters without having to go through the whole process once again. I wonder if and how this can be done via m4b-tool and if doing that would delete the iTunes specific metadata

@filippoteso filippoteso reopened this Aug 6, 2023
@sandreas
Copy link
Owner

sandreas commented Aug 6, 2023

I wonder if and how this can be done via m4b-tool and if doing that would delete the iTunes specific metadata

m4b-tool meta "Santa Claus.m4b" --export-chapters

# edit manually "Santa Clause.chapters.txt"

m4b-tool meta "Santa Claus.m4b" --import-chapters

rm "Santa Clause.chapters.txt"

@sandreas sandreas closed this as completed Aug 6, 2023
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

2 participants