Review Request 109369: Bug #254404: Copy files to USB storage devices in display order by sorting tracks in CollectionLocation.cpp

Anmol Ahuja darthcodus at gmail.com
Tue Mar 12 18:26:59 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109369/
-----------------------------------------------------------

(Updated March 12, 2013, 11:56 p.m.)


Review request for Amarok.


Changes
-------

Fixed issues raised by strohel


Description (updated)
-------

1. Made a levelSort() function to sort tracks according to multiple parameters ( Should i just be sorting tracks belonging to the same album? )
2. Modified copyUrlToCollection() to use QList instead of QMap
3. FileView's files are being copied in the order of selection, thanks to using QLists ( is that acceptable? )

Updates:
Implemented changes as suggested by strohel
1. Moved levelSort function to the prepareCopy callers (CollectionTreeView)
2. Restored CollectionLocation.cpp to the old version, with QLists instead of QMaps

Still not complete though, working on it.


Diffs (updated)
-----

  src/browsers/CollectionTreeView.h 3b2ca80 
  src/browsers/CollectionTreeView.cpp fd9fe66 
  src/browsers/collectionbrowser/CollectionWidget.h c281f41 
  src/core-impl/collections/audiocd/AudioCdCollectionLocation.cpp be13551 
  src/core-impl/collections/db/sql/SqlCollectionLocation.h 0bcf244 
  src/core-impl/collections/db/sql/SqlCollectionLocation.cpp 93efe97 
  src/core-impl/collections/ipodcollection/IpodCollectionLocation.h cc27e19 
  src/core-impl/collections/ipodcollection/IpodCollectionLocation.cpp f8105f9 
  src/core-impl/collections/ipodcollection/jobs/IpodCopyTracksJob.h 3c2d9f2 
  src/core-impl/collections/ipodcollection/jobs/IpodCopyTracksJob.cpp 8a40c6c 
  src/core-impl/collections/mediadevicecollection/MediaDeviceCollectionLocation.h e40529f 
  src/core-impl/collections/mediadevicecollection/MediaDeviceCollectionLocation.cpp f60aff6 
  src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.h 821f1b0 
  src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp c1b76f5 
  src/core-impl/collections/mtpcollection/handler/MtpHandler.cpp a8d9f52 
  src/core-impl/collections/support/PlaylistCollectionLocation.h 10a365f 
  src/core-impl/collections/support/PlaylistCollectionLocation.cpp c885046 
  src/core-impl/collections/support/TrashCollectionLocation.h 239a977 
  src/core-impl/collections/support/TrashCollectionLocation.cpp 61c2e49 
  src/core-impl/collections/umscollection/UmsCollection.cpp 6bebd98 
  src/core-impl/collections/umscollection/UmsCollectionLocation.h 45ba596 
  src/core-impl/collections/umscollection/UmsCollectionLocation.cpp e0ba0ac 
  src/core/collections/CollectionLocation.h d37ccfb 
  src/core/collections/CollectionLocation.cpp aecc068 
  src/services/ServiceCollectionLocation.cpp d1cb0d8 
  src/services/mp3tunes/Mp3tunesServiceCollectionLocation.h 2b06cb4 
  src/services/mp3tunes/Mp3tunesServiceCollectionLocation.cpp aa61072 

Diff: http://git.reviewboard.kde.org/r/109369/diff/


Testing
-------

Seems to be copying tracks in the correct order now


Thanks,

Anmol Ahuja

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20130312/08dea37e/attachment.html>


More information about the Amarok-devel mailing list