Bug 321548 - Tracks sorted in a weird way when adding multiple compilations to playlist
Summary: Tracks sorted in a weird way when adding multiple compilations to playlist
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (other bugs)
Version First Reported In: 2.8.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: later
Assignee: Amarok Bugs
URL: http://imgur.com/jgRKL6y
Keywords:
Depends on: 276133
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-24 09:17 UTC by Silver Juurik
Modified: 2023-01-02 05:28 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silver Juurik 2013-06-24 09:17:52 UTC
When adding multiple compilations to the playlist, the tracks look to be in a random order. 

For example, I have "Dracula 2000" and "The Matrix" soundtracks, consisting of 15 and 12 tracks, respectively. When the two compilations are added to the playlist, the tracks in playlist are ordered as follows (see the link for a better overview):

1 track from Dracula
2 tracks from Matrix
9 tracks from Dracula
2 tracks from Matrix
1 track from Dracula
4 tracks from Matrix
2 tracks from Dracula
6 tracks from Matrix
1 track from Dracula

The tracks are not ordered by the album name (as is visible), nor by artist name (Static-x comes before Slayer), nor by track name (the first track is track no. 2 on Dracula OST, followed by track no. 1 on Matrix).

Reproducible: Always

Steps to Reproduce:
1. Select two compilations in the collection
2. Add the selected collections to playlist
3. The tracks in the collection are displayed in an illogical order
Actual Results:  
Tracks are displayed in seemingly random order

Expected Results:  
Tracks should be ordered by some property (album name for example)

OS: Linux Mint 15

Playlist uses default sorting. No additional sorting levels added.

When adding multiple non-compilation albums to playlist, then it works as expected - the whole album is kept together.

A workaround is to add the compilation albums one by one - in that case the album is kept together and ordered by track number
Comment 1 Myriam Schweingruber 2013-06-24 12:13:24 UTC
First of all: please upgrade to Amarok 2.7.1, there are important bugfixes in that release.

Then: please check your id3 tags for consistency, those need to be exact, else Amarok can't sort the albums correctly. This means having consistency in Album name,  track number, etc.
Comment 2 Silver Juurik 2013-06-24 12:57:35 UTC
Upgraded amarok to 2.7.1.
Checked the id3 tags:
* the tracks have consistent album names. All tracks within an album have the exact same album name.
* All tracks in both albums have a track number set. 
* All tracks within an album have unique track numbers (there were duplicate numbers before)
* All tracks have the year set. The values are equal within an album
* All tracks have the artist id3 tag set

After the upgrades and changes in id3 tags, I tried adding the two albums to the playlist again. The result was the same, with one small change - the tracks 1 and 2 of the Dracula OST are now displayed in correct order. 

The main problem is still present - the playlist now has a few tracks from one album, then a few tracks from the other, then a few tracks from the first album and so on.

Anything else I should check?
Comment 3 Myriam Schweingruber 2013-06-24 13:10:15 UTC
The problem is most likely the Album name, make sure you have  no case differences, the database is case sensitive. Also since those are compilations make sure there are no Album Artist tags set
Comment 4 Silver Juurik 2013-06-24 14:15:01 UTC
The album name is exactly "The Matrix" for all tracks on the album.
The album name is exactly "Dracula 2000" for all tracks on the album.
No differences in case that I could see with the plain eye.

None of the tracks have album artist set.
Comment 5 Myriam Schweingruber 2013-06-24 15:08:37 UTC
Thank you for the valuable feedback.
Comment 6 Konrad Zemek 2013-07-23 18:24:44 UTC
This looks like a close relative of bug 276133
Comment 7 Mikhail Ivchenko 2013-12-04 11:55:59 UTC
I can confirm this bug with v2.8.0
Comment 8 Andrew Crouthamel 2018-11-11 04:24:13 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Andrew Crouthamel 2018-11-12 03:22:26 UTC
Changing back to REPORTED per request of Myriam (Amarok dev).
Comment 10 Justin Zobel 2022-12-03 09:01:26 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 11 Bug Janitor Service 2022-12-18 05:14:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2023-01-02 05:28:26 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!