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

[Bug]: Matched cover not updated #3807

Closed
mikiher opened this issue Jan 7, 2025 · 2 comments
Closed

[Bug]: Matched cover not updated #3807

mikiher opened this issue Jan 7, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@mikiher
Copy link
Contributor

mikiher commented Jan 7, 2025

What happened?

After matching a book without a cover, the new cover does not appear after match is saved.

What did you expect to happen?

The new cover is should be displayed.

Steps to reproduce the issue

  1. Find a book without a cover
  2. Click the edit button
  3. Match the book (I use Audible.com)
  4. Click on the match result
  5. Submit
  6. All new match details now appear in the Details tab, but the new cover is not shown, and the Cover tab shows Invalid Cover

Audiobookshelf version

v2.17.7

How are you running audiobookshelf?

Built from source

What OS is your Audiobookshelf server hosted from?

Windows

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs

[2025-01-07 08:57:56.212] DEBUG: [LibraryItemController] Requesting download cover from url "https://m.media-amazon.com/images/I/71wdm5ET-JL.jpg"
[2025-01-07 08:57:56.212] DEBUG: [fileUtils] Downloading file to F:/VS Code Worksapces/audiobookshelf-local/audiobookshelf/metadata/items/45663346-72f7-430e-89d4-fb868daf4e3a/cover
[2025-01-07 08:57:56.649] INFO: [CoverManager] Downloaded libraryItem cover "F:/VS Code Worksapces/audiobookshelf-local/audiobookshelf/metadata/items/45663346-72f7-430e-89d4-fb868daf4e3a/cover.jpg" from url "https://m.media-amazon.com/images/I/71wdm5ET-JL.jpg"
[2025-01-07 08:57:56.650] DEBUG: [Book] "The Paradox of Choice" changed keys: [
  'subtitle',
  'publishedYear',
  'publisher',
  'description',
  'asin',
  'language',
  'narrators',
  'genres',
  'tags'
]
[2025-01-07 08:57:56.656] DEBUG: [ApiCacheManager] book.afterUpdate: Clearing cache
[2025-01-07 08:57:56.660] DEBUG: [ApiCacheManager] libraryItem.afterUpdate: Clearing cache
[2025-01-07 08:57:56.661] DEBUG: [LibraryItem] Saved metadata for "The Paradox of Choice" file to "F:\VS Code Worksapces\audiobookshelf-local\audiobookshelf\metadata\items\45663346-72f7-430e-89d4-fb868daf4e3a\metadata.json"
[2025-01-07 08:57:56.661] DEBUG: [LibraryItemController] Updated library item media The Paradox of Choice
[2025-01-07 08

Additional Notes

This is running cutting edge source code at Commit 0eed38b

@mikiher mikiher added the bug Something isn't working label Jan 7, 2025
@mikiher
Copy link
Contributor Author

mikiher commented Jan 7, 2025

I just verified that this only happens with cutting edge source (I reverted to v2.17.7 and could not repro).

@advplyr advplyr added the awaiting release Issue is resolved and will be in the next release label Jan 7, 2025
Copy link

Fixed in v2.18.0.

@github-actions github-actions bot removed the awaiting release Issue is resolved and will be in the next release label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants