From 60c16571e36216d1e2b3a98a81349eed3bf0f67c Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 29 Jul 2020 12:18:22 +0200 Subject: [PATCH] Made cli not use queue as it's sequential anyway --- deemix/app/cli.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deemix/app/cli.py b/deemix/app/cli.py index fdf34b5..f2812c8 100644 --- a/deemix/app/cli.py +++ b/deemix/app/cli.py @@ -35,4 +35,9 @@ def login(): 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)