[Bug]: Matched cover not updated #2468

Closed
opened 2026-04-25 00:07:28 +02:00 by adam · 2 comments
Owner

Originally created by @mikiher on GitHub (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

Originally created by @mikiher on GitHub (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 ```shell [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](https://github.com/advplyr/audiobookshelf/commit/0eed38b771778f8c7c5cec299e178d65c616e450)
adam added the bug label 2026-04-25 00:07:28 +02:00
adam closed this issue 2026-04-25 00:07:29 +02:00
Author
Owner

@mikiher commented on GitHub (Jan 7, 2025):

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

@mikiher commented on GitHub (Jan 7, 2025): I just verified that this only happens with cutting edge source (I reverted to v2.17.7 and could not repro).
Author
Owner

@github-actions[bot] commented on GitHub (Jan 20, 2025):

Fixed in v2.18.0.

@github-actions[bot] commented on GitHub (Jan 20, 2025): Fixed in [v2.18.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.18.0).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2468