Add move up and down and remove in playlist

This commit is contained in:
2018-03-05 21:48:11 +01:00
parent 87e477935a
commit da9e816fb6
4 changed files with 66 additions and 13 deletions

View File

@@ -95,6 +95,11 @@ def playlist_remove(index:int):
args = urlencode(locals())
return f"playlist?{args}", None
@request_post
def playlist_move(index1:int, index2:int):
args = urlencode(locals())
return f"playlist/move?{args}", None
@request_get
def get_playback_pos():
return f"time"