Strict check for featuredToTitle to prevent issues

This commit is contained in:
RemixDev 2020-09-07 16:13:50 +02:00
parent e57f40aff3
commit 37b801f2f0
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -318,7 +318,7 @@ class DownloadJob:
if self.settings['tags']['multiArtistSeparator'] != "default":
if self.settings['tags']['multiArtistSeparator'] == "andFeat":
track.artistsString = track.mainArtistsString
if track.featArtistsString and self.settings['featuredToTitle'] != "2":
if track.featArtistsString and str(self.settings['featuredToTitle']) != "2":
track.artistsString += " " + track.featArtistsString
else:
track.artistsString = self.settings['tags']['multiArtistSeparator'].join(track.artists)

View File

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