Comment 12 for bug 615796

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 615796] Re: Add shuffle functionality in Auto-DJ queue

Hey Mika,

As for 1, are you using the latest version of trunk to work on ? In either
case, I woudln't worry about this. The track table is currently force
updated when you add a track to it. I'm going to be adding a fix in the 1.9
branch that will made any changes in PlaylistDAO for a playlist
automatically get messaged to the associated playlist-table-models. So this
isn't really your bug.

For 2 -- I'm thinking that we should not allow sorting in playlist tables --
drag-and-drop reordering also is not meaningful in the playlist unless it is
sorted by column 0, so I think playlists just should not be sortable. I
could be totally off the mark here, so I'd love to hear what you and others
from the team think of this.

Cheers,
RJ

On Mon, Mar 28, 2011 at 4:21 PM, Mika Haulo <email address hidden>wrote:

> There are a couple of bugs related to header columns and sorting.
>
> 1) After shuffling, the #-column is not updated correctly. It shows old
> positions until Mixxx is restarted.
> 2) If the playlist is sorted by any other column, shuffling does nothing (I
> found solution for this: need to call m_pTrackTableView->sortByColumn(0,
> Qt::AscendingOrder) before shuffling)
>
> Otherwise it feels pretty ok. It is possible to shuffle only unplayed
> tracks by giving the current track index as a parameter. Shuffling large
> playlists shouldn't be a problem either. ~1400 tracks took 2-3 seconds
> on my setup (Athlon XP 64 X2 5000+ / 8G ram).
>
> --
> You received this bug notification because you are subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/615796
>
> Title:
> Add shuffle functionality in Auto-DJ queue
>