Summary: | Scanner doesn't set album cover when a non-empty subfolder is present | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Mikko C. <mikko.cal> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dmeltzer.devel, hydrogen, mitchell |
Priority: | NOR | ||
Version: | 2.3-GIT | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
output of the command
screenshot of the problem |
Description
Mikko C.
2008-07-21 18:35:01 UTC
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). |