mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2025-01-16 03:25:15 +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):
|
def addToQueue(data):
|
||||||
app.addToQueue_link(data['url'], socket=socketio)
|
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
|
# Example code leftover, could be usefull later on
|
||||||
@server.route('/choose/path', methods=['POST'])
|
@server.route('/choose/path', methods=['POST'])
|
||||||
def choose_path():
|
def choose_path():
|
||||||
|
|
Loading…
Reference in a new issue