Pa-software community
Help, support and conversation
Welcome! ( login | register )
 
  Forum » ID3 Editor » MP3 file problems » Command line parsing bug
 

Pages: << prev 1 next >>
Command line parsing bug
This member is currently offline hc
Newbie


Member Level

Group: Members
Posts: 8
Joined: Feb 15, 2012

Add hc to your buddy list Send an email to hc Reply with a quote from this post Go to the top of the page

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.

Posted Feb 15, 2012, 6:55 pm
This member is currently offline jamesrae
Member


Member Level

Group: Moderators
Posts: 63
Joined: Dec 13, 2008

Add jamesrae to your buddy list Send an email to jamesrae Send a personal messsage to jamesrae Reply with a quote from this post Go to the top of the page

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?
.........................
James Rae
Pa-software support

Posted Feb 15, 2012, 9:28 pm
This member is currently offline hc
Newbie


Member Level

Group: Members
Posts: 8
Joined: Feb 15, 2012

Add hc to your buddy list Send an email to hc Reply with a quote from this post Go to the top of the page

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.

Posted Feb 15, 2012, 11:51 pm
This member is currently offline jamesrae
Member


Member Level

Group: Moderators
Posts: 63
Joined: Dec 13, 2008

Add jamesrae to your buddy list Send an email to jamesrae Send a personal messsage to jamesrae Reply with a quote from this post Go to the top of the page

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.
.........................
James Rae
Pa-software support

Posted Feb 16, 2012, 8:33 am
Pages: << prev 1 next >>