mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-12-22 15:24:40 +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
|
||||
if istrack:
|
||||
audio["artist"] = artist_ or d["album"]["artist"]["name"] # TRACK ARTIST
|
||||
tags["artist"] = artist_ or d["album"]["artist"]["name"] # TRACK ARTIST
|
||||
else:
|
||||
audio["artist"] = artist_ or album["artist"]["name"]
|
||||
tags["artist"] = artist_ or album["artist"]["name"]
|
||||
|
||||
if istrack:
|
||||
tags["genre"] = _format_genres(d["album"]["genres_list"])
|
||||
|
Loading…
Reference in New Issue
Block a user