Command line parsing bug

hc


Posted Feb 15, 2012, 6:55 pm
If the command line interface is called with the parameters

"C:\Program Files\ID3 Editor\id3edcmd.exe" -ti "-ti" test.mp3

then the title is not set to -ti as expected.
jamesrae


Posted Feb 15, 2012, 9:28 pm
This does appear to cause the title to be ignored in the CLI and I have requested an investigation so that it can be fixed.

Was this just testing or did you require the line to start with -ti?
hc


Posted Feb 15, 2012, 11:51 pm
Testing before buying ... I do not recall any song that begins with -ti. But in any case, there is an error in the parsing logic. Nevertheless, I will buy it shortly.
jamesrae


Posted Feb 16, 2012, 8:33 am
It is the intention of the parsing to check if the next argument was a command and thus assume the previous argument was missing the data and thus ignore it.
I will recommend this is changed as it is not obvious and not needed for most users.

Back