Made cli not use queue as it's sequential anyway

This commit is contained in:
RemixDev 2020-07-29 12:18:22 +02:00
parent 613c1aebd3
commit 60c16571e3
1 changed files with 6 additions and 1 deletions

View File

@ -35,4 +35,9 @@ def login():
def downloadLink(url, settings, bitrate=None): def downloadLink(url, settings, bitrate=None):
addToQueue(dz, sp, url, settings, bitrate) for link in url:
if ';' in link:
for l in link.split(";"):
addToQueue(dz, sp, l, settings, bitrate)
else:
addToQueue(dz, sp, link, settings, bitrate)