From f49e87cf99a4e342569ebe79801a1ac713b531ca Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 13 Jul 2024 03:43:45 +0000 Subject: [PATCH] sane-tag-music: allow clearing *any* tag manually --- pkgs/additional/sane-scripts/src/sane-tag-music | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/additional/sane-scripts/src/sane-tag-music b/pkgs/additional/sane-scripts/src/sane-tag-music index 9e85f635b..b43dfd28e 100755 --- a/pkgs/additional/sane-scripts/src/sane-tag-music +++ b/pkgs/additional/sane-scripts/src/sane-tag-music @@ -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 [], )