Bug 315331 - covers of wrong album displayed
Summary: covers of wrong album displayed
Status: RESOLVED DUPLICATE of bug 315329
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.7.0
Platform: Other Linux
: NOR normal
Target Milestone: 2.8
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-17 16:46 UTC by Kurt Roeckx
Modified: 2013-04-12 07:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.8


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Roeckx 2013-02-17 16:46:25 UTC
On many albums it shows the cover art of a completly different album.

I'm having this problem for at least several years, it's still present in 2.7.0.

I have cover.jpg files in many of my album directories.  As far as I know none of the songs themself have a embedded cover in them.  I tried usetting the covers on all my albums and then did a full rescan of my collection to end up with just the same wrong covers.

Reproducible: Always
Comment 1 Ralf Engels 2013-02-22 19:02:49 UTC
Please try first to remove the album cover cache:
~/.kde/share/apps/amarok/albumcovers/cache
(actually just rename the directory. I am really sure that it's only a cache but who knows)

That should solve the issue in my opinion. But if it doesnt run the amarokcollectionscanner on one of those albums and attach the result to this bug report.
Comment 2 Kurt Roeckx 2013-02-22 20:09:14 UTC
After removing the cache directory and doing a full rescan, I end up with the same covers again.

Running the scan on one of the directories has gives a <directory>[...]<cover>path</cover> that is the right cover for that album.  It's just not showing that cover in amarok, but from an other album.

Trying the amarokcollectionscanner on various paths doesn't show any problems in the output of that.

I think the problem comes from albums having common tracks.  The albums have share the same artist and title.  They now also have the same track id (see bug 315329), but I as far as I know I had this problem before they had the same track id.  It might be worse now that they share the same trackid.


Kurt
Comment 3 Ralf Engels 2013-02-22 21:58:09 UTC
There is also the way that the hash for the album cover is computed.
It might be conceivable that with an unlucky combination of album and artist name the covers will merge.

What is the name of those albums? Can you give an example?
Comment 4 Matěj Laitl 2013-02-23 10:35:58 UTC
(In reply to comment #2)
> I think the problem comes from albums having common tracks.  The albums have
> share the same artist and title.  They now also have the same track id (see
> bug 315329), but I as far as I know I had this problem before they had the
> same track id.  It might be worse now that they share the same trackid.

Perhaps you tracks have embedded covers and this is just another symptom of bug 315329. That bug is solved in git, so please try with recent git version to confirm this.
Comment 5 Myriam Schweingruber 2013-04-11 08:16:36 UTC
(In reply to comment #4)
> 
> Perhaps you tracks have embedded covers and this is just another symptom of
> bug 315329. That bug is solved in git, so please try with recent git version
> to confirm this.

Still waiting for feedback, Kurt
Comment 6 Kurt Roeckx 2013-04-11 19:14:36 UTC
(In reply to comment #4)
> Perhaps you tracks have embedded covers and this is just another symptom of
> bug 315329. That bug is solved in git, so please try with recent git version
> to confirm this.

Like I said in my initial report: "As far as I know none of the songs themself have a embedded cover in them"

I've  been running with a git version that fixed bug 315329.  I thought I had at least 1 occurrence of this still left, but I can't find it.  So I think I currently can't reproduce this problem anymore.
Comment 7 Myriam Schweingruber 2013-04-12 07:07:13 UTC
Thank you for the feedback.

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