[Enhancement]: Button to save cover to folder with files and/or delete a local cover #983

Open
opened 2026-04-24 23:28:16 +02:00 by adam · 6 comments
Owner

Originally created by @hobesman on GitHub (Feb 24, 2023).

Describe the feature/enhancement

I often have a cover saved to the folder with the files, but if the search finds a better one, I'd like an option to save it to the folder with the files.

Most of the time I think I'd prefer that it be added to the list of local covers, rather than replacing the existing ones, but maybe also add a button to delete a local cover.

So in the end, two things:

  1. The active cover and searched covers would add a hover button (perhaps a floppy disk) to save to local folder.
  2. The local covers add a trash can icon to remove them from the local folder.
Originally created by @hobesman on GitHub (Feb 24, 2023). ### Describe the feature/enhancement I often have a cover saved to the folder with the files, but if the search finds a better one, I'd like an option to save it to the folder with the files. Most of the time I think I'd prefer that it be _added_ to the list of local covers, rather than replacing the existing ones, but maybe also add a button to delete a local cover. So in the end, two things: 1. The active cover and searched covers would add a hover button (perhaps a floppy disk) to save to local folder. 2. The local covers add a trash can icon to remove them from the local folder.
adam added the enhancement label 2026-04-24 23:28:16 +02:00
Author
Owner

@advplyr commented on GitHub (Feb 25, 2023):

The server setting to save covers with library items handles saving to local folder but will replace any other cover with the name "cover".
With your suggestion what would be the file naming schema for these downloaded covers?

@advplyr commented on GitHub (Feb 25, 2023): The server setting to save covers with library items handles saving to local folder but will replace any other cover with the name "cover". With your suggestion what would be the file naming schema for these downloaded covers?
Author
Owner

@hobesman commented on GitHub (Feb 25, 2023):

I'd forgotten about the option to save cover with files, but (a) I don't necessarily want to lose the cover I have, (b) with multiple local covers it isn't clear which one would be deleted since it doesn't show their file names on the cover search/selection screen, and (c) if the active cover appears the same, I don't know if it's the same resolution or a higher/lower resolution than what I already have in the folder.

As for how to name the additional covers, it could be as simple as appending "-#" if cover.jpg already exists. Rotate through the numbers and use the first non-conflicting result. So cover-1.jpg, then cover-2.jpg and so on.

@hobesman commented on GitHub (Feb 25, 2023): I'd forgotten about the option to save cover with files, but (a) I don't necessarily want to lose the cover I have, (b) with multiple local covers it isn't clear which one would be deleted since it doesn't show their file names on the cover search/selection screen, and (c) if the active cover appears the same, I don't know if it's the same resolution or a higher/lower resolution than what I already have in the folder. As for how to name the additional covers, it could be as simple as appending "-#" if cover.jpg already exists. Rotate through the numbers and use the first non-conflicting result. So cover-1.jpg, then cover-2.jpg and so on.
Author
Owner

@advplyr commented on GitHub (Feb 25, 2023):

I'm not sure it would be obvious that the button is saving the file to the folder of your library item. This would probably require an additional confirmation.
Also, since we support single-file audiobooks in the root directory it would be hidden for those, which seems okay.

@advplyr commented on GitHub (Feb 25, 2023): I'm not sure it would be obvious that the button is saving the file to the folder of your library item. This would probably require an additional confirmation. Also, since we support single-file audiobooks in the root directory it would be hidden for those, which seems okay.
Author
Owner

@hobesman commented on GitHub (Feb 25, 2023):

Perhaps for those in the root, maybe show an asterisk explanation of why it's disabled. Just to avoid confusion.

For the confirmation, could there be a check box to skip future confirmations or something, so it isn't every single time if you already understand?

@hobesman commented on GitHub (Feb 25, 2023): Perhaps for those in the root, maybe show an asterisk explanation of why it's disabled. Just to avoid confusion. For the confirmation, could there be a check box to skip future confirmations or something, so it isn't every single time if you already understand?
Author
Owner

@advplyr commented on GitHub (Feb 25, 2023):

Possibly. Will need to think about this one. I think there is another feature request related to multiple covers as well

@advplyr commented on GitHub (Feb 25, 2023): Possibly. Will need to think about this one. I think there is another feature request related to multiple covers as well
Author
Owner

@hobesman commented on GitHub (Feb 25, 2023):

Ah I just found this. https://github.com/advplyr/audiobookshelf/issues/1204

It's similar in concept, but wants to save multiple files to the metadata folder instead of saving with the audio files. That difference might also require clarification if both options are implemented.

Maybe call it "save to server" or something generic, and then depending on whether "save covers with books" is enabled, it either saves to the /metadata folder or the audio folder.

The warning in server settings about cover.jpg might need rewording. Maybe a second toggle, whether subsequent covers should be added to or replace cover.jpg

@hobesman commented on GitHub (Feb 25, 2023): Ah I just found this. https://github.com/advplyr/audiobookshelf/issues/1204 It's similar in concept, but wants to save multiple files to the _metadata_ folder instead of saving with the audio files. That difference might also require clarification if both options are implemented. Maybe call it "save to server" or something generic, and then depending on whether "save covers with books" is enabled, it either saves to the /metadata folder or the audio folder. The warning in server settings about cover.jpg might need rewording. Maybe a second toggle, whether subsequent covers should be _added to_ or _replace_ cover.jpg
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#983