MIXXX does not maintain track order importing M3U playlist

Bug #1241244 reported by ShockPop
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
RJ Skerry-Ryan

Bug Description

as mentioned in the Boards, I've found that MIXXX does not maintain proper track order when importing M3U playlist that was created in WinAmp

Here's is the text version of the attached m3u playlist for comparison (if it's helpful)

1. Welcome To The Show (0:50)
2. The Pillbugs - The World's Most Harmless Villain (4:08)
3. Mark Mikel - 2010 Anthem (3:08)
4. Marikesh - Mother's Eyes No. 1 (3:31)
5. Chris Shutters - By Now (5:09)
6. The Pillbugs - Ball Of String (2:09)
7. The Pillbugs - The Kick-Around Boy (3:02)
8. The Pillbugs - I'd Give It All Up For You (2:18)
9. The Pillbugs - Heather (Whatever) (2:41)
10. The Pillbugs - Pretend You're Not Home (1:53)
11. Mark Mikel - ShockPop plays all Bugs (0:25)
12. The Pillbugs - Emily Loves (1:55)
13. The Pillbugs - Meddle With Me (3:36)
14. The Pillbugs - I'll Get By (3:01)
15. The Pillbugs - Saturday Morning Cartoons (1:18)
16. The Pillbugs - Delicious (2:42)
17. Scott Tabner - Thief For A Day (3:08)
18. Dark Ocean Colors - 1x1 (3:54)
19. Mark Mikel and Scott Hunt - ShockPop! (0:55)
20. Scott Hunt - Childhood (2:28)
21. Mark Mikel - 80 Million Days (4:37)
22. The Pillbugs - We Are The Orange Sky People (2:51)
23. Goodbye From The Pillbugs Power Hour (0:41)

Tags: polish
Revision history for this message
ShockPop (dtp2web) wrote :
Revision history for this message
Jonathan Bastnagel (jonthebagel) wrote :

I'll look into this, thanks for reporting!

RJ Skerry-Ryan (rryan)
Changed in mixxx:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Grant Fromont (grant-m) wrote :

Hi Guys, excellent work on the 1.11 release. I am migrating from 2 other DJ packages to MIXXX but also find that in 1.11, mix does not maintain track order in either M3U import or playlist import from Traktor 2.6.2 . For direct m3u import, the workaround seems to be to select all in the Library and reset play count (imported list tracks already exist in the library and have a play count) as the behaviour seems to be to bring most frequently played tracks to the top of the play order. This really messes up things for me over a ~140 track playlist. Be good if this was configurable in Preferences.
Also the use case for traktor library is to right click a playlist in the traktor library view on the left, then 'Import Playlist'. Track order gets scrambled, once you select another playlist then switch back. Seems to sort roughly on Artist instead, reseting playlist order. Again a bit of a disaster over 120 tracks. Workaround is to select the traktor playlist on the left, then select all tracks in the right pane, rt click 'Add to Playlist', having created it manually first . I need to migrate about 210 playlists, not great.
Platform is Windows 7, MIxxx 1.11.0, Traktor 2.6.2 , m3u files from Musicmatch Jukebox.
BTW the primary reason for moving to MIxxx is that the playlist export is excellent, it does not drop latin accent characters in track filenames, Traktor playlist export is rubbish for this. Use case is copying the live playlist to ITunes/Ipod/ipad for backup plan.
Cheers for the good work so far.

Max Linke (max-linke)
Changed in mixxx:
milestone: none → 1.12.0
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

We should probably have a separate bug for Traktor 2.6.2 playlists not being in order.

tags: added: polish
RJ Skerry-Ryan (rryan)
Changed in mixxx:
assignee: nobody → RJ Ryan (rryan)
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Looks like this was caused when a mix of the tracks in the M3U are already in your library.

Repro steps:

1) Add a whole album to a playlist in order.
2) Export an M3U
3) Clear the playlist, remove some of the tracks from the album from your library entirely (via hide then purge)
4) Import the M3U into the playlist.

Tracks are out of order (specifically, the ones that were already in the library come first (in the order they were in the M3U) followed by the tracks that were not in your library already (in the order they were in the M3U).

I added a re-sort phase in TrackDAO::addTracks that keeps them in the order specified by the M3U.

Fixed in https://github.com/mixxxdj/mixxx/commit/ea6bc9c49d14b16f812305acc2b9756055c5778c

Changed in mixxx:
status: Confirmed → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/7193

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.