-
Notifications
You must be signed in to change notification settings - Fork 500
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
[Bug]: Covers not loading for m4b audiobooks #3697
Comments
Reproduced and fixed the problem on my system - the fix can be used as described above (use other |
Did this PR break it for you? #3529 That update was needed in my testing for multiple embedded covers |
I'm going to check this in the next days.
Yeah, I know that this might cause a regression for other formats not extracting the covers any more. I try to find a generic solution that works for all formats, otherwise I think we must provide a |
Yes, before this change it worked. Re-checked this also manually via:
vs
What does this mean? I think that my version also might work with multi cover files:
EDIT: but to be sure I would at least setup some regression tests... |
What happened?
I have a library of many m4b's and after upgrading audiobookshelf to a newer version, the covers of newly added m4b files don't show up, although I ensured that the files contain a valid cover.
What did you expect to happen?
I would have expected the covers to show up as normal.
Steps to reproduce the issue
Add the attached file to your audio book folder and wait for it to be scanned.
input.zip
This problem might be related to #1063 and #2885 - but is very specific to
m4b
files with embedded cover. I found out that the problem is possibly a wrongffmpeg
extraction command in:audiobookshelf/server/utils/ffmpegHelpers.js
Line 56 in 190a100
which results in
This command extracts a FULLY BLACK cover for
m4b
files.Possible solution
The corrected command that works and extracts the cover as expected would be:
or in code
but I'm not sure, that this is the place the problem occurs.
Audiobookshelf version
2.17.4
How are you running audiobookshelf?
Docker
What OS is your Audiobookshelf server hosted from?
Linux
If the issue is being seen in the UI, what browsers are you seeing the problem on?
Chrome
Logs
No errors in log files
Additional Notes
Suggested solution should fix the problem.
The text was updated successfully, but these errors were encountered: