![]() ![]() |
Apr 5 2011, 10:31
Post
#1
|
|
|
Member Group: Full Members Posts: 65 Joined: 20-March 06 Member No.: 2893 Mp3tag Version: 2.49 |
Here is an debug excerpt which shows - in my opinion - that SayNextWord is broken. The log shows that SayNextWord only outputs the first character not the complete word. I expected mp3tag to output the text 'clearcut' in that particular case.
Thanks for reading -u302320 CODE Script-Line : 243
Command : findinline Parameter 1 : ><td>< Parameter 2 : >1< Parameter 3 : >1< Output : >< Line and position: <td>clearcut 2006 50 Min. - Originalhörspiel dt. </td></tr> ^ ------------------------------------------------------------ Script-Line : 244 Command : saynextword Output : >c< Line and position: <td>clearcut 2006 50 Min. - Originalhörspiel dt. </td></tr> ^ |
|
|
|
Apr 5 2011, 11:00
Post
#2
|
|
![]() Member Group: Full Members Posts: 1571 Joined: 15-March 09 From: Germany Member No.: 9103 Mp3tag Version: 2.50 |
seems like there is a problem
as a workaround, you can use: sayuntil " " if it is always a space which follows the word. This post has been edited by pone: Apr 5 2011, 11:20 |
|
|
|
Apr 5 2011, 11:14
Post
#3
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
... The log shows that SayNextWord only outputs the first character not the complete word. ... It seems that SayNextWord needs the boundary of a previous word to detect where the next word start, something of \b in a regexp. DD.20110405.1215.CEST -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Apr 5 2011, 11:19
Post
#4
|
|
![]() Member Group: Full Members Posts: 1571 Joined: 15-March 09 From: Germany Member No.: 9103 Mp3tag Version: 2.50 |
It seems that SayNextWord needs the boundary of a previous word to detect where the next word start, something of \b in a regexp. If so, try findinline "<td" instead of findinline "<td>" before the saynextword command. then the parser shoul be able to read > as the word boundary before the word. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 17:55 |