This commit is contained in:
RemixDev 2020-07-13 12:14:40 +02:00
parent d8fdc8344f
commit 73304e06c5
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -628,7 +628,6 @@ def downloadTrackObj(dz, trackAPI, settings, bitrate, queueItem, extraTrack=None
else:
track['playlist']['artist'] = {"Main": []}
track['playlist']['artists'] = []
track['trackNumber'] = trackAPI["POSITION"]
track['playlist']['trackTotal'] = trackAPI["_EXTRA_PLAYLIST"]['nb_tracks']
track['playlist']['recordType'] = "Compilation"
track['playlist']['barcode'] = ""
@ -639,9 +638,10 @@ def downloadTrackObj(dz, trackAPI, settings, bitrate, queueItem, extraTrack=None
'month': trackAPI["_EXTRA_PLAYLIST"]["creation_date"][5:7],
'year': trackAPI["_EXTRA_PLAYLIST"]["creation_date"][0:4]
}
track['discNumber'] = "1"
track['playlist']['discTotal'] = "1"
if settings['tags']['savePlaylistAsCompilation'] and "playlist" in track:
track['trackNumber'] = trackAPI["POSITION"]
track['discNumber'] = "1"
track['album'] = {**track['album'], **track['playlist']}
else:
if 'date' in track['album']:

View File

@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text()
setup(
name="deemix",
version="1.1.5",
version="1.1.6",
description="A barebone deezer downloader library",
long_description=README,
long_description_content_type="text/markdown",