mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 02:55:25 +01:00
Fix frame
This commit is contained in:
parent
9c54988a2d
commit
4f729d1d42
@ -190,9 +190,9 @@ def tag_mp3(filename, root_dir, final_name, d, album, istrack=True, em_image=Fal
|
|||||||
|
|
||||||
artist_ = d.get("performer", {}).get("name") # TRACK ARTIST
|
artist_ = d.get("performer", {}).get("name") # TRACK ARTIST
|
||||||
if istrack:
|
if istrack:
|
||||||
audio["artist"] = artist_ or d["album"]["artist"]["name"] # TRACK ARTIST
|
tags["artist"] = artist_ or d["album"]["artist"]["name"] # TRACK ARTIST
|
||||||
else:
|
else:
|
||||||
audio["artist"] = artist_ or album["artist"]["name"]
|
tags["artist"] = artist_ or album["artist"]["name"]
|
||||||
|
|
||||||
if istrack:
|
if istrack:
|
||||||
tags["genre"] = _format_genres(d["album"]["genres_list"])
|
tags["genre"] = _format_genres(d["album"]["genres_list"])
|
||||||
|
Loading…
Reference in New Issue
Block a user