sane-tag-music: allow clearing *any* tag manually

This commit is contained in:
2024-07-13 03:43:45 +00:00
parent e38c2f20e8
commit f49e87cf99

View File

@@ -977,11 +977,11 @@ def main():
gatherer = Gatherer(args.path, args.type, getattr(args, "derive", False))
manual_tags = Tags(
album=[args.album] if args.album else [],
albumartist=[args.album_artist] if args.album_artist else [],
artist=[args.artist] if args.artist else [],
album=[args.album] if args.album is not None else [],
albumartist=[args.album_artist] if args.album_artist is not None else [],
artist=[args.artist] if args.artist is not None else [],
producer=[args.producer] if args.producer is not None else [],
title=[args.title] if args.title else [],
title=[args.title] if args.title is not None else [],
tracknumber=[args.trackno] if args.trackno is not None else [],
)