Merge lp:~mhaulo/mixxx/mixxx-autodjshuffle into lp:~mixxxdevelopers/mixxx/trunk
Proposed by
Mika Haulo
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 2744 | ||||
Proposed branch: | lp:~mhaulo/mixxx/mixxx-autodjshuffle | ||||
Merge into: | lp:~mixxxdevelopers/mixxx/trunk | ||||
Diff against target: |
123 lines (+56/-0) 5 files modified
mixxx/src/dlgautodj.cpp (+12/-0) mixxx/src/dlgautodj.h (+1/-0) mixxx/src/dlgautodj.ui (+10/-0) mixxx/src/library/playlisttablemodel.cpp (+32/-0) mixxx/src/library/playlisttablemodel.h (+1/-0) |
||||
To merge this branch: | bzr merge lp:~mhaulo/mixxx/mixxx-autodjshuffle | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
RJ Skerry-Ryan | Approve | ||
Review via email: mp+56082@code.launchpad.net |
Description of the change
This branch enables AutoDJ playlist shuffling (fixes bug #615796).
To post a comment you must log in.
Hey Mika
Looking good -- two things to fix:
* The QSqlQuery needs to be initialized using the QSqlQuery( QSqlDatabase) constructor. Otherwise it uses the default database connection. You can get it using m_pTrackCollect ion->getDatabas e() as you do elsewhere.
* shuffleTracks takes an index to shuffle from, but it is currently passed as index(0,0). Should this be replaced with some code to get the current index that Auto-DJ is at so that it doesn't shuffle the songs that have been previously played by autodj?