Remove bodged load commands.

This commit is contained in:
Matthew Stratford 2020-10-29 01:41:17 +00:00
parent cac357c403
commit 91339174b6
No known key found for this signature in database
GPG key ID: 5F50E4308A3416E8

View file

@ -120,7 +120,6 @@ def seek(channel, pos):
@app.route("/player/<int:channel>/output/<name>") @app.route("/player/<int:channel>/output/<name>")
def output(channel, name): def output(channel, name):
channel_to_q[channel].put("OUTPUT:" + name) channel_to_q[channel].put("OUTPUT:" + name)
channel_to_q[channel].put("LOAD:test"+str(channel)+".mp3")
return ui_status() return ui_status()
@ -151,7 +150,6 @@ def startServer():
for channel in range(3): for channel in range(3):
channel_to_q.append(multiprocessing.Queue()) channel_to_q.append(multiprocessing.Queue())
channel_from_q.append(multiprocessing.Queue()) channel_from_q.append(multiprocessing.Queue())
# channel_to_q[-1].put_nowait("LOAD:test"+str(channel)+".mp3")
channel_p.append( channel_p.append(
multiprocessing.Process( multiprocessing.Process(
target=player.Player, target=player.Player,