From 6f6523ff8b60bffa9b347e757d606d50057b61e6 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sun, 22 Nov 2020 21:37:57 +0100 Subject: [PATCH] Fixed playlist downloading --- deemix/__init__.py | 2 +- deemix/app/track.py | 2 ++ setup.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deemix/__init__.py b/deemix/__init__.py index 953564c..7e6ecde 100644 --- a/deemix/__init__.py +++ b/deemix/__init__.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -__version__ = "2.0.2" +__version__ = "2.0.3" USER_AGENT_HEADER = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) " \ "Chrome/79.0.3945.130 Safari/537.36" diff --git a/deemix/app/track.py b/deemix/app/track.py index eeaf6b1..8cbf853 100644 --- a/deemix/app/track.py +++ b/deemix/app/track.py @@ -264,6 +264,7 @@ class Track: 'name': albumAPI_gw['ART_NAME'], 'pic': None } + self.album['rootArtist'] = None # albumAPI_gw doesn't contain the artist cover # Getting artist image ID @@ -359,6 +360,7 @@ class Track: 'pic': playlist['various_artist']['picture_small'][ playlist['various_artist']['picture_small'].find('artist/') + 7:-24] } + self.playlist['rootArtist'] = None if settings['albumVariousArtists']: self.playlist['artist'] = {"Main": [playlist['various_artist']['name'], ]} self.playlist['artists'] = [playlist['various_artist']['name'], ] diff --git a/setup.py b/setup.py index c5247ba..beb10b8 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text() setup( name="deemix", - version="2.0.2", + version="2.0.3", description="A barebone deezer downloader library", long_description=README, long_description_content_type="text/markdown",