mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 02:55:25 +01:00
Fix #89
This commit is contained in:
parent
37c471693c
commit
049280c178
@ -92,14 +92,14 @@ def tag_flac(filename, root_dir, final_name, d, album, istrack=True, em_image=Fa
|
|||||||
audio["TRACKTOTAL"] = str(d["album"]["tracks_count"])
|
audio["TRACKTOTAL"] = str(d["album"]["tracks_count"])
|
||||||
audio["ALBUM"] = d["album"]["title"]
|
audio["ALBUM"] = d["album"]["title"]
|
||||||
audio["DATE"] = d["album"]["release_date_original"]
|
audio["DATE"] = d["album"]["release_date_original"]
|
||||||
audio["COPYRIGHT"] = _format_copyright(d["copyright"])
|
audio["COPYRIGHT"] = _format_copyright(d.get("copyright", "n/a"))
|
||||||
else:
|
else:
|
||||||
audio["GENRE"] = _format_genres(album["genres_list"])
|
audio["GENRE"] = _format_genres(album["genres_list"])
|
||||||
audio["ALBUMARTIST"] = album["artist"]["name"]
|
audio["ALBUMARTIST"] = album["artist"]["name"]
|
||||||
audio["TRACKTOTAL"] = str(album["tracks_count"])
|
audio["TRACKTOTAL"] = str(album["tracks_count"])
|
||||||
audio["ALBUM"] = album["title"]
|
audio["ALBUM"] = album["title"]
|
||||||
audio["DATE"] = album["release_date_original"]
|
audio["DATE"] = album["release_date_original"]
|
||||||
audio["COPYRIGHT"] = _format_copyright(album["copyright"])
|
audio["COPYRIGHT"] = _format_copyright(album.get("copyright", "n/a"))
|
||||||
|
|
||||||
if em_image:
|
if em_image:
|
||||||
emb_image = os.path.join(root_dir, "cover.jpg")
|
emb_image = os.path.join(root_dir, "cover.jpg")
|
||||||
|
2
setup.py
2
setup.py
@ -13,7 +13,7 @@ requirements = read_file("requirements.txt").strip().split()
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=pkg_name,
|
name=pkg_name,
|
||||||
version="0.9.7",
|
version="0.9.8",
|
||||||
author="Vitiko",
|
author="Vitiko",
|
||||||
author_email="vhnz98@gmail.com",
|
author_email="vhnz98@gmail.com",
|
||||||
description="The complete Lossless and Hi-Res music downloader for Qobuz",
|
description="The complete Lossless and Hi-Res music downloader for Qobuz",
|
||||||
|
Loading…
Reference in New Issue
Block a user