Fixed #46
This commit is contained in:
parent
85436d1eb7
commit
3e0ebc804b
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
__version__ = "1.3.10"
|
__version__ = "1.3.11"
|
||||||
|
|
|
@ -122,6 +122,7 @@ class DownloadJob:
|
||||||
pool = eventlet.GreenPool(size=self.settings['queueConcurrency'])
|
pool = eventlet.GreenPool(size=self.settings['queueConcurrency'])
|
||||||
for pos, track in enumerate(self.queueItem.collection, start=0):
|
for pos, track in enumerate(self.queueItem.collection, start=0):
|
||||||
tracks[pos] = pool.spawn(self.downloadWrapper, track)
|
tracks[pos] = pool.spawn(self.downloadWrapper, track)
|
||||||
|
pool.waitall()
|
||||||
self.collectionAfterDownload(tracks)
|
self.collectionAfterDownload(tracks)
|
||||||
if self.interface:
|
if self.interface:
|
||||||
if self.queueItem.cancel:
|
if self.queueItem.cancel:
|
||||||
|
@ -425,7 +426,6 @@ class DownloadJob:
|
||||||
if extrasPath:
|
if extrasPath:
|
||||||
if not self.extrasPath:
|
if not self.extrasPath:
|
||||||
self.extrasPath = extrasPath
|
self.extrasPath = extrasPath
|
||||||
result['extrasPath'] = extrasPath
|
|
||||||
|
|
||||||
# Data for m3u file
|
# Data for m3u file
|
||||||
result['filename'] = writepath[len(extrasPath):]
|
result['filename'] = writepath[len(extrasPath):]
|
||||||
|
|
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.10",
|
version="1.3.11",
|
||||||
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