added optional api call

This commit is contained in:
aj 2019-09-12 13:11:25 +01:00
parent ac410dfeb9
commit 3879562e82

View File

@ -163,6 +163,7 @@ class PlaylistEngine:
if counter_track.added_at < track.added_at:
counter_track = track
if counter_track != tracks_to_sort[0]:
self.net.reorder_playlist_tracks(playlist.playlist_id,
i + tracks_to_sort.index(counter_track),
1, i)