[Bug]: Replacing local image doesn't update art in app #2543

Closed
opened 2026-04-25 00:08:13 +02:00 by adam · 9 comments
Owner

Originally created by @ElDubsNZ on GitHub (Feb 5, 2025).

What happened?

Every audiobook I've got has a "cover.jpg" next to the audiobook. I replaced an image, but the library won't update with the new image.

Image

I've tried refreshing the page, scanning the library, logging out, cache clearing, nothing updates it. now, it does see the new file, because here:

Image

And clicking it says "Update successful", but the library simply doesn't update.

I wondered if it wasn't recognising it because the file name was the same, so I tried renaming to "cover1.jpg", but it still didn't pick it up after rescanning.

I've also checked to see if it's prioritising the embedded cover art on the mp3 file, however it's definitely not, as the embedded picture actually matches the new image I'm trying to add, not the old image I'm trying to get rid of.

What did you expect to happen?

I'd expect that when an image file changes, the image would update, or when clicking the image under "local image" to manually update it, it would update.

Steps to reproduce the issue

  1. Add new audiobook mp3 with cover art as a jpg.
  2. Scan so it's recognised.
  3. Replace the jpg with a new cover art image.
  4. Rescan to see it doesn't update.

Library scanner priority list:

  1. OPF file
  2. desc.txt & reader.txt files
  3. NFO file
  4. Audio file meta tags OR ebook metadata
  5. Audiobookshelf metadata file
  • Folder structure (disabled)

Audiobookshelf version

2.12.3

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?

Other (list in "Additional Notes" box)

Logs


Additional Notes

Firefox and Edge.

Originally created by @ElDubsNZ on GitHub (Feb 5, 2025). ### What happened? Every audiobook I've got has a "cover.jpg" next to the audiobook. I replaced an image, but the library won't update with the new image. ![Image](https://github.com/user-attachments/assets/aa8d9773-fb60-4d8b-a7b9-2a4a02eb0655) I've tried refreshing the page, scanning the library, logging out, cache clearing, nothing updates it. now, it does see the new file, because here: ![Image](https://github.com/user-attachments/assets/799a76fd-ee3f-42ce-a7ee-8d19c51fda9c) And clicking it says "Update successful", but the library simply doesn't update. I wondered if it wasn't recognising it because the file name was the same, so I tried renaming to "cover1.jpg", but it still didn't pick it up after rescanning. I've also checked to see if it's prioritising the embedded cover art on the mp3 file, however it's definitely not, as the embedded picture actually matches the new image I'm trying to add, not the old image I'm trying to get rid of. ### What did you expect to happen? I'd expect that when an image file changes, the image would update, or when clicking the image under "local image" to manually update it, it would update. ### Steps to reproduce the issue 1. Add new audiobook mp3 with cover art as a jpg. 2. Scan so it's recognised. 3. Replace the jpg with a new cover art image. 4. Rescan to see it doesn't update. Library scanner priority list: 1. OPF file 2. desc.txt & reader.txt files 3. NFO file 4. Audio file meta tags OR ebook metadata 5. Audiobookshelf metadata file - Folder structure (disabled) ### Audiobookshelf version 2.12.3 ### 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? Other (list in "Additional Notes" box) ### Logs ```shell ``` ### Additional Notes Firefox and Edge.
adam added the bug label 2026-04-25 00:08:13 +02:00
adam closed this issue 2026-04-25 00:08:13 +02:00
Author
Owner

@nichwall commented on GitHub (Feb 5, 2025):

The current server version is 2.19.0. Does this still happen with a newer server version?

@nichwall commented on GitHub (Feb 5, 2025): The current server version is `2.19.0`. Does this still happen with a newer server version?
Author
Owner

@ElDubsNZ commented on GitHub (Feb 5, 2025):

I've just updated to v2.19.0, no change to the issue.

@ElDubsNZ commented on GitHub (Feb 5, 2025): I've just updated to v2.19.0, no change to the issue.
Author
Owner

@advplyr commented on GitHub (Feb 5, 2025):

I remember fixing this a while back. Let me know if updating to the latest server doesn't fix it

@advplyr commented on GitHub (Feb 5, 2025): I remember fixing this a while back. Let me know if updating to the latest server doesn't fix it
Author
Owner

@ElDubsNZ commented on GitHub (Feb 5, 2025):

I remember fixing this a while back. Let me know if updating to the latest server doesn't fix it

Just updated, didn't fix the issue.

@ElDubsNZ commented on GitHub (Feb 5, 2025): > I remember fixing this a while back. Let me know if updating to the latest server doesn't fix it Just updated, didn't fix the issue.
Author
Owner

@advplyr commented on GitHub (Feb 5, 2025):

When you click the local cover image you are saying it says it updates but it doesn't update the cover on the book?

@advplyr commented on GitHub (Feb 5, 2025): When you click the local cover image you are saying it says it updates but it doesn't update the cover on the book?
Author
Owner

@ElDubsNZ commented on GitHub (Feb 5, 2025):

On 2.12.3 it would say "Update successful", now it doesn't come up with anything on 2.19.0, I click it, "Please wait..." comes up for a moment, then disappears, and nothing changes.

@ElDubsNZ commented on GitHub (Feb 5, 2025): On 2.12.3 it would say "Update successful", now it doesn't come up with anything on 2.19.0, I click it, "Please wait..." comes up for a moment, then disappears, and nothing changes.
Author
Owner

@advplyr commented on GitHub (Feb 5, 2025):

Just tested and wasn't able to reproduce

Image

@advplyr commented on GitHub (Feb 5, 2025): Just tested and wasn't able to reproduce ![Image](https://github.com/user-attachments/assets/62c3d3d9-f89f-4634-9b15-f5bed9fdac0f)
Author
Owner

@ElDubsNZ commented on GitHub (Feb 5, 2025):

Very odd, I added a second file just like you, and that seems to have permanently fixed it, I can now change images.

@ElDubsNZ commented on GitHub (Feb 5, 2025): Very odd, I added a second file just like you, and that seems to have permanently fixed it, I can now change images.
Author
Owner

@ElDubsNZ commented on GitHub (Feb 5, 2025):

Maybe it's an issue with adding pre-update and then trying to fix post-update, as now that I'm updated, I can't reproduce the issue. But, adding a second image, and switching to it and back fixes it.

@ElDubsNZ commented on GitHub (Feb 5, 2025): Maybe it's an issue with adding pre-update and then trying to fix post-update, as now that I'm updated, I can't reproduce the issue. But, adding a second image, and switching to it and back fixes it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2543