Ok , thank you . This causes all recently I comprises the operation of direct modem . I apologize for my limited knowledge . So if I understand well , for me, before I was like that for exporting my lyrics :
ActionType : export
Field: txt_taglist
Formatstring : $ filename (txt , utf-8 ) $ loop (% _path %) % % unsyncedlyrics
$ LoopEnd ()
Now to remove eng | | when exporting , I must put in place:
$filename(%_folderpath%%_filename%'.USLT.txt',UTF-8)$if(%UNSYNCEDLYRICS%,$regexp($regexp(%UNSYNCEDLYRICS%,'\A...|.|(.+)\Z','$1'),'\A[\r\n\t]|[\r\n\t]*\Z',),)
By adding in the same group action :
Remove USLT When empty ...
Begin Action Group Format UNSYNCEDLYRICS # Remove USLT When empty
Action # 1
ActionType 5: Format value
Field ______ : UNSYNCEDLYRICS
Formatstring : $if($eql($regexp(%UNSYNCEDLYRICS%,'^[[:alpha:]]{3}(||)[[:space:]]*$','$1'),'||'),,%UNSYNCEDLYRICS%)
End Action Group Format UNSYNCEDLYRICS # Remove USLT When empty ( Action 1 )
Set USLT language code to 'XXX' ...
Begin Action Group Format UNSYNCEDLYRICS # Set Language to 'XXX'
Action # 1
ActionType 5: Format value
Field ______ : UNSYNCEDLYRICS
Formatstring : $ if ($ eql ($ mid ( % UNSYNCEDLYRICS %, 4.2 ) , '| |' ) , 'XXX' $ cutLeft (% UNSYNCEDLYRICS % 3) % UNSYNCEDLYRICS %)
Or better ... ...
Action # 1
ActionType 5: Format value
Field ______ : UNSYNCEDLYRICS
Formatstring : $if($eql($regexp(%UNSYNCEDLYRICS%,'^...(|).(|).$','$1$2'),'||'),'XXX'$cutLeft(%UNSYNCEDLYRICS%,3),%UNSYNCEDLYRICS%)
Gold ... ...
Action # 1
ActionType 5: Format value
Field ______ : UNSYNCEDLYRICS
Formatstring : $if($eql($regexp(%UNSYNCEDLYRICS%,'^...(|).(|).$','$1$2'),'||'),$regexp(%UNSYNCEDLYRICS%,'^...','XXX'),%UNSYNCEDLYRICS%)
End Action Group Format UNSYNCEDLYRICS # Set Language to 'XXX' ( Action 1 )
And with all that, it should take me at my export lyrics, the widget eng | |
Well, I 'm curious to know how you did it to find lines of code. I think we have serious KNOWLEDGE computer and get help in another forum. That said, thank you.