Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vitiko98 committed Mar 22, 2021
1 parent 37c4716 commit 049280c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions qobuz_dl/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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["ALBUM"] = d["album"]["title"]
audio["DATE"] = d["album"]["release_date_original"]
audio["COPYRIGHT"] = _format_copyright(d["copyright"])
audio["COPYRIGHT"] = _format_copyright(d.get("copyright", "n/a"))
else:
audio["GENRE"] = _format_genres(album["genres_list"])
audio["ALBUMARTIST"] = album["artist"]["name"]
audio["TRACKTOTAL"] = str(album["tracks_count"])
audio["ALBUM"] = album["title"]
audio["DATE"] = album["release_date_original"]
audio["COPYRIGHT"] = _format_copyright(album["copyright"])
audio["COPYRIGHT"] = _format_copyright(album.get("copyright", "n/a"))

if em_image:
emb_image = os.path.join(root_dir, "cover.jpg")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read_file(fname):

setup(
name=pkg_name,
version="0.9.7",
version="0.9.8",
author="Vitiko",
author_email="[email protected]",
description="The complete Lossless and Hi-Res music downloader for Qobuz",
Expand Down

0 comments on commit 049280c

Please sign in to comment.