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 [], )