Fixed Explicit tag
This commit is contained in:
parent
6de87fafa9
commit
a1e7840123
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
__version__ = "1.2.8"
|
__version__ = "1.2.9"
|
||||||
|
|
|
@ -145,7 +145,7 @@ class Track:
|
||||||
|
|
||||||
def parseData(self, dz, settings, trackAPI_gw, trackAPI, albumAPI_gw, albumAPI):
|
def parseData(self, dz, settings, trackAPI_gw, trackAPI, albumAPI_gw, albumAPI):
|
||||||
self.discNumber = trackAPI_gw.get('DISK_NUMBER')
|
self.discNumber = trackAPI_gw.get('DISK_NUMBER')
|
||||||
self.explicit = trackAPI_gw.get('EXPLICIT_LYRICS')
|
self.explicit = bool(int(trackAPI_gw.get('EXPLICIT_LYRICS') or "0"))
|
||||||
self.copyright = trackAPI_gw.get('COPYRIGHT')
|
self.copyright = trackAPI_gw.get('COPYRIGHT')
|
||||||
self.replayGain = ""
|
self.replayGain = ""
|
||||||
if 'GAIN' in trackAPI_gw:
|
if 'GAIN' in trackAPI_gw:
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="deemix",
|
name="deemix",
|
||||||
version="1.2.8",
|
version="1.2.9",
|
||||||
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",
|
||||||
|
|
Loading…
Reference in New Issue