Review Request 110070: Added album artist special case to playlist sorting. Fixed a logic bug.

Konrad Zemek konrad.zemek at gmail.com
Thu Apr 18 01:17:46 UTC 2013


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

(Updated April 18, 2013, 1:17 a.m.)


Review request for Amarok.


Summary (updated)
-----------------

Added album artist special case to playlist sorting. Fixed a logic bug.


Description (updated)
-------

Added album artist special case to playlist sorting. Fixed a logic bug.

Refactored playlist multilevel sorting algorithm.

It fixes an issue with two albums being merged on the playlist when they happen to have the same name, and sorting by album is enabled.
Originally thought to fix bug 271105, it actually fixes some other, but connected, one (see my comment https://bugs.kde.org/show_bug.cgi?id=271105#c10 ).
I'll search for a bug report and submit one if I find none.


This addresses bug 271105.
    https://bugs.kde.org/show_bug.cgi?id=271105


Diffs (updated)
-----

  src/playlist/proxymodels/SortAlgorithms.cpp c7d0df9f6b86318fd896a6de08fef6d85623215b 
  src/playlist/proxymodels/SortScheme.h 0fcd3a580deff7f2b4e6e65d0551c7332e0b6c9e 
  src/playlist/proxymodels/SortScheme.cpp de4f37adaeb6e8bb914eb7c91ff4803d01fc5623 
  tests/mocks/MetaMock.h 03fea2aaf7f27236c43a8cb78c241078414dd39c 
  tests/playlist/TestPlaylistModels.cpp 8964333517e431487b6ad4ba50d3e359f51bf3f6 

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


Testing
-------

Manual tests + relevant unittest added in testplaylistmodels


Thanks,

Konrad Zemek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20130418/bba2a874/attachment-0001.html>


More information about the Amarok-devel mailing list