Version: 2.0-SVN (using 4.1.60 (KDE 4.1.60 (KDE 4.2 >= 20080709)), Gentoo) Compiler: x86_64-pc-linux-gnu-gcc OS: Linux (x86_64) release 2.6.26 Example: /Artist/Album/Track.mp3 /Artist/Album/cover.jpg /Artist/Album/Subdir/foo.jpg No cover image is set for the album: cover.jpg should have instead. I haven't tested if the files in the subfolder must be image files to trigger this bug. The most common situation I can see in my collection is when the album dir has a subdir "Artwork", "art", "scans", etc, which contain several images. Then, even if the folder has a cover.jpg, it is not picked up by the scanner.
Well, right. And I don't think it should... What if I had one directory with a number of albums, and one of them (with a cover) was in a subdirectory.... then this cover would be assigned to all of the albums in the parent directory.
Dan: The problem is that it doesn't use the image in the parent folder apparently for those files if there are any subfolders.
I think you mis-understood. Amarok should assign "cover.jpg" to the album, not "Subdir/foo.jpg". If you didn't, can you please make an example? What do you mean by "one directory with a number of albums"? Many tracks from different albums in a single directory? That would be like a compilation?
Sorry, I misunderstood what you said, I thought you meant the inverse... Lets investigate this...
Could you post the output of amarokcollectionscanner -r /path/to/directory/where/this/occurs ? It would be helpful.
Created attachment 27013 [details] output of the command This is the output you asked, only for one directory, but it happens on all those that have a subdirectory with some image files.
Created attachment 29454 [details] screenshot of the problem This is still valid and I think it's a bug. Here's a screenshot that explains the problem. Why is the cover not set for the album?
Confirming based on Mikko's observation.
Any news on this?
still present in 2.1.
Some more info: the file in the sub-folder doesn't have to be an image, it can be any file. Some relevant output from amarokcollectionscanner -r . <image path="/mnt/mybook/Eminem - Relapse/Bonus/cover.jpg" list="EminemAMAROK_MAGICRelapse [Bonus Disc]" /> <compilation path="/mnt/mybook/Eminem - Relapse/Bonus" /> <dud/>/mnt/mybook/Eminem - Relapse/cover.jpg <image path="/mnt/mybook/Eminem - Relapse/cover.jpg" list="" /> <compilation path="/mnt/mybook/Eminem - Relapse" /> As you can see: <image path="/mnt/mybook/Eminem - Relapse/cover.jpg" list="" /> should be: <image path="/mnt/mybook/Eminem - Relapse/cover.jpg" list="EminemAMAROK_MAGICRelapse" />
Could somebody have a look at this?
Fixed in eb32c05a38c901a7709f794366363bca218c458b (pre-2.2).