[PATCH] juk: keep the order of tracks when loading a plain playlist.

Michael Pyne mpyne at kde.org
Wed Jun 8 04:56:02 BST 2011


On Tuesday, June 07, 2011 10:53:02 Γιώργος Κυλάφας wrote:
> Hi all,
> 
> If I understand correctly the wish in
> https://bugs.kde.org/show_bug.cgi?id=70402 ("save the order of the
> tracks in a playlist (like a meta-data saved in the list, not in the
> songs files)"), I have the same desire, i.e. whenever JuK restores a
> manually sorted playlist, it should keep the original order.
> 
> I have found an easy way to implement this for plain Playlists
> (SearchPlaylists and FolderPlaylists would require very invasive
> changes), as per the attached patch.
> 
> What do you think?

It makes sense, and you even use the appropriate version of setSorting() such 
that the user can re-enable sorting later if desired, which is a nice touch.

How does this interact with playlists that are *not* manually sorted? Wouldn't 
this call disable that automatic sorting, or is that re-enabled later while 
the Playlist is loading its settings from the KConfig?

Regards,
 - Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20110607/0b6a6952/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list