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

Cover Image Applied to All Songs in Library #1166

Open
Gabry-256 opened this issue Sep 2, 2024 · 3 comments
Open

Cover Image Applied to All Songs in Library #1166

Gabry-256 opened this issue Sep 2, 2024 · 3 comments

Comments

@Gabry-256
Copy link

I have encountered a problem with the Music app in Nextcloud. When viewing songs in my library, the app seems to randomly select a cover image from one of the songs and applies it to all other songs. This behavior is not desired. I would prefer that each song or album retain its own cover image. For songs that do not have a cover image, I would like a default image from the designated folder to be used instead.

@paulijar
Copy link
Collaborator

paulijar commented Sep 3, 2024

Thanks for the report. Could you describe a bit more how you have organized your library in folders?

The way the cover art picking is supposed to work is this:

  1. Cover art is always assigned to an album, not an individual song
  2. The preferred way is to use a cover image which has been embedded into metadata of one of the songs belonging to the album
  3. In case there is no embedded cover on any of the songs of the album, the app looks for any image file in the same folder where the songs of the album are located. In case there are many image files present, the names cover.*, albumart.*, album.*, front.*, and folder.* are preferred (the * there may denote any supported image file extension).

With these rules, I would assume that the same cover art would be used for multiple unrelated songs only in case all those songs are located in the same folder or all of the seem to belong to the same artist and album (which could be also "Unknown artist" and "Unknown album").

@Gabry-256
Copy link
Author

hello the organisation of my library in the folder is more or less like this isn't there a way to prevent the album cover from overlapping all the songs? i'd like each one to keep its own image and those that don't have one of my choice, which is the same one i want to give to the album as image

Screenshot from 2024-09-03 22-31-28

@paulijar
Copy link
Collaborator

paulijar commented Sep 4, 2024

Okay, so basically you have everything in one folder and your files don't contain any metadata. In that case the Music app has no way to guess the album division and it assumes that all the songs belong to the same album, and hence, use the same cover art.

What you can do, is to either add the Album metadata tag to each of your songs or then create a sub-directory for each album.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants