mirror of
https://github.com/alexta69/metube.git
synced 2025-04-05 05:07:37 +03:00
Queue persistence for download and completed
This commit is contained in:
parent
622ca428e3
commit
eb1f031b33
3 changed files with 79 additions and 17 deletions
|
@ -92,6 +92,7 @@ async def delete(request):
|
|||
|
||||
@sio.event
|
||||
async def connect(sid, environ):
|
||||
await dqueue.importQueue()
|
||||
await sio.emit('all', serializer.encode(dqueue.get()), to=sid)
|
||||
|
||||
@routes.get(config.URL_PREFIX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue