Made ARTISTS tag optional

This commit is contained in:
RemixDev 2021-12-19 17:28:56 +01:00
parent ed22a396c8
commit 7f1eb0c500
No known key found for this signature in database
GPG key ID: B33962B465BDB51C
2 changed files with 5 additions and 2 deletions

View file

@ -67,6 +67,7 @@ DEFAULTS = {
"tags": {
"title": True,
"artist": True,
"artists": True,
"album": True,
"cover": True,
"trackNumber": True,

View file

@ -25,6 +25,7 @@ def tagID3(path, track, save):
tag.add(TPE1(text=track.artistsString))
# Tag ARTISTS is added to keep the multiartist support when using a non standard tagging method
# https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html#artists
if save['artists']:
tag.add(TXXX(desc="ARTISTS", text=track.artists))
if save['album']:
@ -145,6 +146,7 @@ def tagFLAC(path, track, save):
tag["ARTIST"] = track.artistsString
# Tag ARTISTS is added to keep the multiartist support when using a non standard tagging method
# https://picard-docs.musicbrainz.org/en/technical/tag_mapping.html#artists
if save['artists']:
tag["ARTISTS"] = track.artists
if save['album']: