From 6cf890f7cde1ecd925c07bcd6d9714c83148e359 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 15 Jul 2020 10:04:24 +0200 Subject: [PATCH] downloaded updateQueue now contains downloadPath as well --- deemix/__init__.py | 2 +- deemix/app/downloader.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deemix/__init__.py b/deemix/__init__.py index 226a241..6a5f558 100644 --- a/deemix/__init__.py +++ b/deemix/__init__.py @@ -1,3 +1,3 @@ #!/usr/bin/env python3 -__version__ = "1.1.8" +__version__ = "1.1.9" diff --git a/deemix/app/downloader.py b/deemix/app/downloader.py index e02f12f..619fb1b 100644 --- a/deemix/app/downloader.py +++ b/deemix/app/downloader.py @@ -846,7 +846,7 @@ def downloadTrackObj(dz, trackAPI, settings, bitrate, queueItem, extraTrack=None logger.info(f"[{track['mainArtist']['name']} - {track['title']}] Track download completed") queueItem['downloaded'] += 1 if interface: - interface.send("updateQueue", {'uuid': queueItem['uuid'], 'downloaded': True}) + interface.send("updateQueue", {'uuid': queueItem['uuid'], 'downloaded': True, 'downloadPath': writepath}) return result diff --git a/setup.py b/setup.py index 4eb0b5b..1298e8f 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text() setup( name="deemix", - version="1.1.8", + version="1.1.9", description="A barebone deezer downloader library", long_description=README, long_description_content_type="text/markdown",