mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-28 02:16:16 +00:00
Added remove from queue button
This commit is contained in:
parent
8785497a67
commit
7ba616e095
|
@ -54,6 +54,10 @@ def search(data):
|
|||
def addToQueue(data):
|
||||
app.addToQueue_link(data['url'], socket=socketio)
|
||||
|
||||
@socketio.on('removeFromQueue')
|
||||
def removeFromQueue(uuid):
|
||||
app.removeFromQueue_link(uuid, socket=socketio)
|
||||
|
||||
# Example code leftover, could be usefull later on
|
||||
@server.route('/choose/path', methods=['POST'])
|
||||
def choose_path():
|
||||
|
|
Loading…
Reference in a new issue