mp3binder icon indicating copy to clipboard operation
mp3binder copied to clipboard

Tags containing , and "" quotation (like in --help)

Open gitoss opened this issue 2 years ago • 1 comments

The --help of mp3binder for --tapply contains: Takes the format: 'key1="value",key2="value"'. However, this "" quotation has a bug because of wrong parsing the , split:

The example... mp3binder.exe . --tapply TIT2="Testing,Bug" ... results in "! Warning: the tag 'Bug' is not a well-known tag, but will be written"

Single '' quotation works: mp3binder.exe . --tapply TIT2='Testing,Bug'

This is a workaround, or maybe meant to work this way anyway(?) - unfortunately there's no way to include rather common ' and/or - chars in the tag, or I dunno how to replace/escape them.

The example... mp3binder.exe . --tapply TIT2='Testing,'Workaround'Bug' ... results in the tag just being Testing,WorkaroundBug

Using Windows release 5.1.0.

Edit: A solution would be to be able to priovide a sidecar file for tagging, with a single TAGTYPE=... in each lin so there is no need for command line parsing - like https://github.com/crra/mp3binder/commit/028bb722c716f81fb521e85a9a6c4abfbc360c90

gitoss avatar Oct 24 '23 15:10 gitoss

Sorry for replying so late. I'll look into it. I thought that your use-case was already covered :(

crra avatar Nov 30 '23 17:11 crra