Merge branch 'mpris_wrong_order' into 'master'

Ignore dbus playlist sorting order via dbus if not supported

See merge request sublime-music/sublime-music!75
This commit is contained in:
Sumner Evans
2022-07-20 03:33:26 +00:00

View File

@@ -474,6 +474,7 @@ class SublimeMusicApp(Gtk.Application):
"Created": lambda p: p.created,
"Modified": lambda p: p.changed,
}
if order in sorters:
playlists.sort(
key=sorters.get(order, lambda p: p),
reverse=reverse_order,