Bug 126827 - Tracks on different disc of same album play in filename order
Summary: Tracks on different disc of same album play in filename order
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4-beta3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-06 02:40 UTC by TommyDrum
Modified: 2006-06-11 12:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TommyDrum 2006-05-06 02:40:47 UTC
Version:           1.4-beta3 (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) 
OS:                Linux

I will take in account an album that has two discs:
While amarok is supposed to play the two different discs in ID3 order, so going from Disc 1 - Track 1 to Disc 1 - Track 2, it goes from Disc 1 - Track 1 to Disc 2 - Track 1, then once again to Disc 1 - Track 1 and Disc 2 - Track 1 and so on. Sometimes when clicking next after having clicked a second disc track, it goes to the next track of the other disc: So: When listening to Disc 2 - Track 3, click next, goes to Disc 1 - Track 4,click next, Disc 2 - Track 4, click next, back to Disc 1 - Track 4 and so on between the two last tracks on which next has been clicked. This happens before and after "organizing" with the context menu, so before and after two separate folders containing the two different discs of the same album get merged into one. ID3 tags are correctly assigned, though I didn't find a way to "organize" (context menu) filenames including some %disc tag (seems to not exist at present). Feel free to ask any question in regards.
Comment 1 Shane King 2006-05-06 04:03:30 UTC
This works fine for me, when I load an album with disc tags into the playlist it orders all the tracks from disc 1 first, then all the tracks from disc 2.

Can you give more details about the exact steps you're using to cause this problem?
Comment 2 TommyDrum 2006-05-06 15:46:46 UTC
Here goes, 4 cases:

1. Double clicked on desired album, which of course contains both discs. Playlist indicates both discs are present and they are ordered by Disc and Track correctly. So playlist shows correctly: Disc 1 - Track 1, Disc 1 - Track 2 and so on. Double click, or press play for Disc 1 - Track 1. Plays and finishes. Amarok skips all other tracks of Disc 1 and jumps to Disc 2 - Track 1. Plays and finishes. Amarok skips all remaining Disc 2 and jumps again to Disc 1 - Track 1. So on forever.

2. If I choose to start with a track on second disc, then Amarok, after finishing to play the track, jumps to the correspondent + 1 track on first disc
Example: Plays Disc 2 - Track 1 then goes back to Disc 1 - Track 2, then Disc 2 - Track 2, then Disc 1 - Track 2 and so on (sticking as before between track X on both discs).

3. If the Disc 1 contains more tracks than Disc 2, then the remaining tracks on Disc 1 after the corresponding same number of tracks on Disc 2 play correctly: Example: Disc 1 contains 16 tracks. Disc 2 contains 8 tracks. Pressed play on Disc 1 - Track 9, plays, finishes, goes to Disc 1 - Track 10, as expected, then goes to Disc 1 - Track 11, and so on.

4. When it finishes playing Disc 1, Amarok doesn't go on playing Disc 2, but just stops (either letting it finish or manually pressing "next track" button). "Next track" button is NOT grayed out.

All these cases occur either in consequent non-stop playing, or manually skipping tracks with the "next track" button.

I thought it could occur because of the consequent naming of files in the same folder (therefore having files organized by filename shows up with double "01" tracks, even if the trackname changes), but the problem occurs even if having different folders for different discs. So I guess file naming doesn't change behavior. (By the way, is there a way to input disc number in the "organize files" dialog? Tried "%disc", but no avail)

I noticed another strange thing, though I don't know if it's related: Either choosing to not repeat the playlist or to do so has the same effect: When the playlist is finished, the playlist starts from the beginning again. "Next track" IS grayed out.
In this particular two-disc case, it jumps to the correspondent+1 number of track on the other disc, as mentioned before,... but maybe that's another bug.

Hope that was helpful.
Comment 3 TommyDrum 2006-05-16 16:19:30 UTC
Seems that 1.4.0 ironed out all of the previously mentioned bugs:

Either the wrong order played tracks or the "playlist finished then restarting" bug.

Good work, I think this bug could be closed now.
Comment 4 TommyDrum 2006-05-16 16:20:53 UTC
Marking as resolved in 1.4.0