Bug 202360 - Albums with multiple tracks by multiple artists are listed repeatedly in collection browser
Summary: Albums with multiple tracks by multiple artists are listed repeatedly in coll...
Status: RESOLVED DUPLICATE of bug 192029
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.2.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 2.3.1
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 04:09 UTC by Syam
Modified: 2010-12-01 06:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of collection browser showing repeated entries (34.32 KB, image/png)
2009-08-03 04:16 UTC, Syam
Details
One repeated album expanded showing different artists (13.29 KB, image/png)
2009-08-03 04:16 UTC, Syam
Details
bug illustration (83.16 KB, image/png)
2009-11-22 21:10 UTC, Beat Wolf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Syam 2009-08-03 04:09:13 UTC
Version:           2.1.1 (using KDE 4.2.4)
OS:                Linux
Installed from:    Fedora RPMs

Consider an album which has 3 tracks, each sung by a different artist. I have several of such albums. In Amarok collection browser, when I group by 'Album' in Collection Browser, the albums are listed separately, once for each track with a different artist (please see the attached screenshot).

The screenshot has grouping by album for 1st level and artist for 2nd level.
Comment 1 Syam 2009-08-03 04:16:05 UTC
Created attachment 35803 [details]
Screenshot of collection browser showing repeated entries
Comment 2 Syam 2009-08-03 04:16:33 UTC
Created attachment 35804 [details]
One repeated album expanded showing different artists
Comment 3 Mikko C. 2009-08-03 08:32:04 UTC
I can't reproduce it with 2.2-git.
See screenshot: http://imagebin.ca/view/uPGiPLwt.html
Comment 4 Syam 2009-10-10 05:37:24 UTC
This bug is not fixed in Amarok 2.2 :(
I installed Amarok 2.2 on KDE 4.3.1 on Fedora 11.
I deleted my ~/.kde/share/config/amarokrc file and the ~/.kde/share/apps/amarok directory and started Amarok. Added my music directories, and the collection browser had the same problem.

Other info: My music files have ID3v2.4 tags, added using Kid3/Taglib.
The collection browser is sorted with 'Album' as the first level and 'Artist' as second level and 'None' as third level.
If I select 'None' for the second level also, the duplication problem still exists.
Comment 5 Gilboa Davara 2009-10-10 22:26:25 UTC
Seeing the same.
Had to remove ~/.kde/share/config/amarok* and ~/.kde/share/apps/amarok.
-Seems- to be OK now.
(Though this fix doesn't seem to work for the OP)

- Gilboa
Comment 6 Syam 2009-10-11 03:31:07 UTC
I've tried everything - quitting Amarok, logging out and back in, deleting the config files and the apps/amarok directory.
The problem still exists. It's 100% reproducible.
Comment 7 Jens Westemeier 2009-10-26 15:04:26 UTC
Have the same problem with Amarok 2.2 on OpenSuSE 11.1 and KDE 4.3.2, even after removing all Amarok stuff in ~/.kde4.

One observation: Albums in one directory show up in various artists properly. Other directories, containing several songs with several albums are shown in the regular Artist/Album/Song view. If I mark these songs with "show under various artists" (hope the translation is good enough, since I use the German localization), these songs end up with the behavior mentioned in this bug.

This results in a very long list of albums under various artists, every change in a song causes Amarok to freeze for ~4 minutes to rebuild the navigation bar.

Greetings, Jens.
Comment 8 Myriam Schweingruber 2009-10-26 15:21:10 UTC
Can somebody reproduce this with current git?
Comment 9 Syam 2009-10-26 15:59:28 UTC
I too have several songs with different albums / artists in the same directory.
Comment 10 Jens Westemeier 2009-10-26 16:20:21 UTC
Another way to reproduce (hopefully):
I have 3 songs under "Various Artists" - select them and give them a new album name. All 3 songs now show up under "Artist/Album/Song" and are spread through the collection (due to different artist names). Then applying "Show under Various Artists" leads to have the new album three times under "Various Artists", each containing the same 3 songs.
Comment 11 Myriam Schweingruber 2009-10-26 19:37:18 UTC
Syam and Jens, you both talk about the current Amarok 2.2-git of today?
Comment 12 Jens Westemeier 2009-10-26 20:58:03 UTC
No - I'm talking about Amarok 2.2.0-38.3 from the KDE:KDE4:Playground/openSUSE_11.1_KDE4_Factory_Desktop OpenSuSE Build Service.
Comment 13 Myriam Schweingruber 2009-10-26 23:38:27 UTC
Hm, see my question in comment #8, which I repeat here: can somebody reproduce this with current Amarok 2.2-git?
Comment 14 Syam 2009-10-27 01:58:51 UTC
(In reply to comment #11)
> Syam and Jens, you both talk about the current Amarok 2.2-git of today?

No. Unfortunately, I'm not in a position to compile Amarok from sources (I don't have a KDE build system on this machine - never tried that too).

If you see the first report, the bug was reported for 2.1.1, and then Mikko (see comment #3) said he couldn't reproduce it with 2.2-git. Two months later, when 2.2 was released, I found that the bug still existed. So, if no major changes to the playlist/database have happened post 2.2 release, this one probably is still live.
Comment 15 Myriam Schweingruber 2009-11-16 16:41:17 UTC
Since Amarok 2.2.1 is around the corner, could you please test again with that version?
Comment 16 Syam 2009-11-17 03:32:23 UTC
(In reply to comment #15)
I'm updating to Amarok 2.2.1 from kde-testing repository (I'm on Fedora 11). It pulls in Qt updates too and this is quite heavy. I'll let you know once I've finished installation.
Comment 17 Jens Westemeier 2009-11-17 08:17:32 UTC
(In reply to comment #15)
> Since Amarok 2.2.1 is around the corner, could you please test again with that
> version?

I installed Amarok 2.2.1 from the OpenSuse Build Service.
First start showed the same problems. I rescanned the entire collection and most of the duplicates were gone. Still there were some artifacts like empty duplicates (clicking on the + sign at the left showed no contents). Restarting Amarok even solved that problem.

So from my point of view the issue is solved and Amarok again did a big step towards the functionality and stability of the 1.4 version.

Thank you very much for your effort and good work.
Comment 18 Syam 2009-11-18 02:27:00 UTC
I installed Amarok 2.2.1 from kde-testing repo of Fedora 11. Deleted ~/.kde/share/apps/amarok directory and config/amarokrc file. Started Amarok, added folders to collection, scanned, exited Amarok and started again.

*The problem remains*.

But now I know how to reproduce. Albums that have their own folder (i.e. all tracks of that album in a separate folder) work fine - irrespective of the artists. But if a folder contains tracks from two albums, I get duplicate listings in Amarok playlist for those albums - one entry for each artist, as described in the original report. I have tried deleting the amarok directory and amrokrc file and re-scanned. The problem is 100% reproducible.
Comment 19 Jens Westemeier 2009-11-18 08:09:54 UTC
Sorry for the confusion, I also still have the problem.
Rescanning the collection cleaned up my "Various Artists" tree, but cleared the "Show under Various Artists" flag, which lead to move the songs back into the regular Artist/Album tree. Setting the "Show under Various Artists" flag again leads again to the duplicates.

At the first glance it seems I have the same problem as Syam - multiple artists with one album in one directory seems to work fine (and show up in the "Various Artists" tree immediately after the rescan), multiple artists with multiple albums in one directory show up in the Artists/Album tree and lead to duplicates as soon as the "Show under Various Artists" is set.
Comment 20 Myriam Schweingruber 2009-11-18 10:35:29 UTC
Thanks for the quick answer. Changing version, then
Comment 21 Jeff Mitchell 2009-11-18 12:32:24 UTC
I wish people would stop mixing up bugs. One of you seems to be talking about the collection browser. The other seems to be talking about the playlist.
Comment 22 Syam 2009-11-18 12:47:02 UTC
That's my mistake & I apologize. The problem is with the *Collection Browser* and NOT the playlist. The duplicate entries are observed in the collection browser (as posted in the original report).
Comment 23 Beat Wolf 2009-11-22 21:10:23 UTC
Created attachment 38508 [details]
bug illustration

i just wanted to add myself to the list here. It's really strange, with some albums it happens, with some not. For example in the screenshot i submitted you can she the "How i met your mother" album which works fine, and the "How i met your mother Season 2" album which is horribly broken. You cant see the season 3 and 4 which work perfectly too.
The file structure of all those albums is exactly the same (a folder containing one album).
Comment 24 Myriam Schweingruber 2009-11-28 12:06:18 UTC
Pointless to have the same bug opened twice, merging.

*** This bug has been marked as a duplicate of bug 192029 ***
Comment 25 Syam 2009-11-28 12:24:27 UTC
(In reply to comment #24)
> Pointless to have the same bug opened twice, merging.

As long as you're sure they are (caused by) the same problem & not just reducing the number of open reports ;-)
Comment 26 Jens Westemeier 2009-11-28 13:38:56 UTC
I hope that's caused by the same root cause. My problem is caused without renaming albums, it's simply a re-scan and move to various artists.

Btw: I don't allow Amarok, to change the directory/file layout on my disk.
Comment 27 Guy Mac 2010-02-01 06:14:18 UTC
I've got this problem too, very annoying. Amarok 2.2.1, KDE 4.3.3, Fedora 12. I have the collections sorted by Genre, then Album. Some compilation albums don't group together when there are different artists under the same album name; but some do. I wish there was a "compilation" tag like in iTunes. I don't want to retag the artist as "Various" and lose that info.
Comment 28 Syam 2010-12-01 06:52:14 UTC
This bug exists for Amarok 2.3.2 (KDE 4.5.3, Fedora 14).