advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.74k stars 474 forks source link

[Enhancement]: Allow Multiple Cover Artworks #1204

Open Weldawadyathink opened 1 year ago

Weldawadyathink commented 1 year ago

Describe the feature/enhancement

I like to have multiple different cover artworks for my books. I collect these from around the internet, but mostly /r/audiobookcovers. I would like to have them all uploaded into Audiobookshelf, and be able to switch which one is in use without having to reupload the file.

advplyr commented 1 year ago

If you put them in the same folder as your audiobook then they will show up

image

You can have multiple here and switch between them.

Is that what you are looking for?

Weldawadyathink commented 1 year ago

I have my library organized as a single folder of m4b files. I don't have a separate folder for each book. If I put a jpeg in that folder, wouldn't it either apply to the entire book or be ignored entirely? (I just tested, and it seems to be ignored).

Also I saw that uploaded covers are stored at /metadata/items//cover.jpg. Also changing this path to, for example, /cover2.jpg, correctly selects an alternate file. Would it be possible to include this same cover picker element for all photos in the books metadata directory?

springsunx commented 1 year ago

If you put them in the same folder as your audiobook then they will show up

image

You can have multiple here and switch between them.

Is that what you are looking for?

Can you add cover priority? Like cover.jpg,front.jpg,cd.jpg,back.jpg,etc.

image

DDriggs00 commented 1 year ago

Can you add cover priority?

@springsunx If you click on one of the covers in the list, it will set that cover as the primary cover.

DDriggs00 commented 1 month ago

The most recently merged issue would be great when working with file structures containing a cover.jpg or cover.png file that should not be changed (e.g. if that file is synced with others using a file sharing service).