format selection enabled
This commit is contained in:
@@ -48,9 +48,12 @@ io.on('connection', socket => {
|
||||
|
||||
socket.on('send-url', (args) => {
|
||||
logger('ws', args?.url)
|
||||
//if (args.url) getFormatsAndInfo(socket, args?.url)
|
||||
download(socket, args)
|
||||
})
|
||||
socket.on('send-url-format-selection', (args) => {
|
||||
logger('ws', args?.url)
|
||||
if (args.url) getFormatsAndInfo(socket, args?.url)
|
||||
})
|
||||
socket.on('abort', (args) => {
|
||||
abortDownload(socket, args)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user