mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 19:15:25 +01:00
formatting
This commit is contained in:
parent
c9e6eb13a6
commit
c7e2d0007b
@ -85,17 +85,17 @@ def tag_flac(filename, root_dir, final_name, d, album,
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
if istrack:
|
if istrack:
|
||||||
audio["GENRE"] = _format_genres(d["album"]["genres_list"]) # GENRE
|
audio["GENRE"] = _format_genres(d["album"]["genres_list"])
|
||||||
audio["ALBUMARTIST"] = d["album"]["artist"]["name"] # ALBUMARTIST
|
audio["ALBUMARTIST"] = d["album"]["artist"]["name"]
|
||||||
audio["TRACKTOTAL"] = str(d["album"]["tracks_count"]) # TRACK TOTAL
|
audio["TRACKTOTAL"] = str(d["album"]["tracks_count"])
|
||||||
audio["ALBUM"] = d["album"]["title"] # 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["copyright"])
|
||||||
else:
|
else:
|
||||||
audio["GENRE"] = _format_genres(album["genres_list"]) # GENRE
|
audio["GENRE"] = _format_genres(album["genres_list"])
|
||||||
audio["ALBUMARTIST"] = album["artist"]["name"] # ALBUM ARTIST
|
audio["ALBUMARTIST"] = album["artist"]["name"]
|
||||||
audio["TRACKTOTAL"] = str(album["tracks_count"]) # TRACK TOTAL
|
audio["TRACKTOTAL"] = str(album["tracks_count"])
|
||||||
audio["ALBUM"] = album["title"] # 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["copyright"])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user