mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-22 23:55:46 +00:00
Only set track artist if it's different from the release artist
This makes it easier to change the artist of the release and all the tracks in the release editor (for single-artist releases).
This commit is contained in:
@@ -67,7 +67,8 @@ class AddClusterAsRelease(BaseAction):
|
||||
nv("mediums.%d.track.%d.%s" % (m, i, n), v)
|
||||
|
||||
tnv("name", file.metadata["title"])
|
||||
tnv("artist_credit.names.0.name", file.metadata["artist"])
|
||||
if file.metadata["artist"] != cluster.metadata["artist"]:
|
||||
tnv("artist_credit.names.0.name", file.metadata["artist"])
|
||||
tnv("length", str(file.metadata.length))
|
||||
|
||||
f.write(HTML_TAIL)
|
||||
|
||||
Reference in New Issue
Block a user