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

Album covers are not viewed #1016

Open
IjonTheTichy opened this issue Oct 8, 2022 · 9 comments
Open

Album covers are not viewed #1016

IjonTheTichy opened this issue Oct 8, 2022 · 9 comments

Comments

@IjonTheTichy
Copy link

Like in issue #151: Album covers what are files named "cover.jpg" in the album folders are not viewed. Version is 1.6.0.

Thanks in advance!

@paulijar
Copy link
Collaborator

paulijar commented Oct 9, 2022

Sorry to hear about your problem. The app is supposed to prioritize using any cover art embedded on the audio file. But if there is no such thing, then it should use any image files found from the same folder with the audio file. The image file names are prioritized in the order cover.* > albumart.* > album.* > front.* > folder.* > any other image name.

I don't know the reason for your problem but have your tried scanning the music collection from the command line using the occ music:scan command? At the end of the scanning process, the command tries to update the cover art images used. If that still doesn't help, then you could try to look from owncloud.log or nextcloud.log if there would happen to be any additional clues.

@IjonTheTichy
Copy link
Author

Thank you you for your suggestions. I use RPI and dont no, how to use the occ command here. But I found, that only some cover.jpg - files are not viewed but many others.

@paulijar
Copy link
Collaborator

Is RPI short for RaspberryPi? To use occ, you need to connect your server via SSH and navigate to the directory where Nextcloud or ownCloud has been installed. On my system, it's a subdirectory under /var/www/html. There, give command like sudo -u www-data php ./occ music:scan your_user_name. That example assumes that the linux user assigned to your web server is www-data.

@IjonTheTichy
Copy link
Author

Yes, its an RaspberryPi. After executing the command you suggested, I got :
Found 0 music files to scan
Searching cover images for albums with no cover art set...
Searching cover images for artists with no cover art set...

@paulijar
Copy link
Collaborator

And you still don't see the cover.jpg files which should be there? And you can't see anything interesting in owncloud.log or nextcloud.log?

Just to clarify, do you see the placeholder graphics on those albums (the colorful box with one or two white letters) instead of the proper cover image? Or is there an empty slot where there should be the album cover image?

@IjonTheTichy
Copy link
Author

Nothing at the log-files. The placeholders are there.

@paulijar
Copy link
Collaborator

Okay. And when you browse to the relevant folders using the Files app, can you see the cover.jpg files and can you open them without problems?

@IjonTheTichy
Copy link
Author

Yes.

@paulijar
Copy link
Collaborator

Okay, this is a mystery then. The fact you see the placeholder art tells us that the Music app has not found the cover.jpg file in question when looking for the album art. But if you can open the image file from the Files view, then that shows that the file is known and identified as an image file by the cloud core, and hence, Music app should have found it.

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