Fixed spotify playlist conversion with old cache (int and not str)

This fixes #27
This commit is contained in:
RemixDev 2020-08-24 18:58:42 +02:00
parent bafdb84ce7
commit 3af0305a80
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
__version__ = "1.2.10" __version__ = "1.2.11"

View File

@ -244,7 +244,7 @@ class SpotifyHelper:
else: else:
trackID = self.get_trackid_spotify(dz, "0", queueItem.settings['fallbackSearch'], track) trackID = self.get_trackid_spotify(dz, "0", queueItem.settings['fallbackSearch'], track)
cache['tracks'][str(track['id'])] = trackID cache['tracks'][str(track['id'])] = trackID
if trackID == "0": if str(trackID) == "0":
deezerTrack = { deezerTrack = {
'SNG_ID': "0", 'SNG_ID': "0",
'SNG_TITLE': track['name'], 'SNG_TITLE': track['name'],

View File

@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text()
setup( setup(
name="deemix", name="deemix",
version="1.2.10", version="1.2.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",