Bug 190714 - Scanner does not detect local cover file in case of various artist
Summary: Scanner does not detect local cover file in case of various artist
Status: RESOLVED DUPLICATE of bug 172953
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 15:18 UTC by Simon ESNEAULT
Modified: 2009-04-26 15:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon ESNEAULT 2009-04-26 15:18:01 UTC
Version:            (using KDE 4.2.2)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Ubuntu Packages

In every folder of the collection, there is a cover.png file corresponding to the cover.

In the normal case with one artist per album, the scanner correctly detect the file cover.png as the cover.
But in case of multiple artist per album, the scanner doesn't set the cover, ans I have to set it manually using the dialog "set custom cover"

Handling of various artist is much much better now, and the cover is one of the last problem!

This bug might come from source file CollectionScanner.cpp, around line 440

// Serialize CoverBundle list with AMAROK_MAGIC as separator
QString string;
for( QList<CoverBundle>::ConstIterator it2 = covers.begin(); it2 != covers.end(); ++it2 )
{
    string += ( string.isEmpty() ? "" : "AMAROK_MAGIC" ) + (*it2).first + "AMAROK_MAGIC" + (*it2).second;
}

But I don't know what AMAROK_MAGIC is supposed to do ...

Thanks
Simon
Comment 1 Mikko C. 2009-04-26 15:43:31 UTC
See last couple comments of https://bugs.kde.org/show_bug.cgi?id=172953

*** This bug has been marked as a duplicate of bug 172953 ***