Remove tag when an empty string is passed
This commit is contained in:
parent
74c133bcb9
commit
4c0766b2c1
1 changed files with 10 additions and 9 deletions
|
@ -92,6 +92,7 @@ def make_metaflac_args(in_args):
|
|||
arg_name = VORBIS_ARG_NAME[arg]
|
||||
|
||||
out_args.append("--remove-tag={}".format(arg_name))
|
||||
if arg_val:
|
||||
out_args.append("--set-tag={}={}".format(arg_name, arg_val))
|
||||
|
||||
return out_args
|
||||
|
|
Loading…
Reference in a new issue