Fixed ACK check for artists
This commit is contained in:
parent
290c55c509
commit
85436d1eb7
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
__version__ = "1.3.9"
|
__version__ = "1.3.10"
|
||||||
|
|
|
@ -3,7 +3,7 @@ from deemix.app.downloadjob import DownloadJob
|
||||||
from deemix.utils.misc import getIDFromLink, getTypeFromLink, getBitrateInt
|
from deemix.utils.misc import getIDFromLink, getTypeFromLink, getBitrateInt
|
||||||
from deemix.api.deezer import APIError
|
from deemix.api.deezer import APIError
|
||||||
from spotipy.exceptions import SpotifyException
|
from spotipy.exceptions import SpotifyException
|
||||||
from deemix.app.queueitem import QISingle, QICollection, QIConvertable
|
from deemix.app.queueitem import QueueItem, QISingle, QICollection, QIConvertable
|
||||||
import logging
|
import logging
|
||||||
import os.path as path
|
import os.path as path
|
||||||
import json
|
import json
|
||||||
|
@ -337,7 +337,12 @@ class QueueManager:
|
||||||
return False
|
return False
|
||||||
logger.info("Generating queue item for: "+link)
|
logger.info("Generating queue item for: "+link)
|
||||||
item = self.generateQueueItem(dz, link, settings, bitrate, interface=interface)
|
item = self.generateQueueItem(dz, link, settings, bitrate, interface=interface)
|
||||||
item.ack = ack;
|
if type(item) is list:
|
||||||
|
for i in item:
|
||||||
|
if isinstance(i, QueueItem):
|
||||||
|
i.ack = ack
|
||||||
|
elif isinstance(item, QueueItem):
|
||||||
|
item.ack = ack
|
||||||
return item
|
return item
|
||||||
|
|
||||||
if type(url) is list:
|
if type(url) is list:
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="deemix",
|
name="deemix",
|
||||||
version="1.3.9",
|
version="1.3.10",
|
||||||
description="A barebone deezer downloader library",
|
description="A barebone deezer downloader library",
|
||||||
long_description=README,
|
long_description=README,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|
Loading…
Reference in New Issue