The "%R% != %F1%" filter doesn't work well for me. I have track formatting with "padding in files" 01 setting, so for example incorrectly track number 9 isn't equal 09 in filename.
How can I solve this ?
I had a similar problem in my %@R-Rip.scv% script, in that I used padleft(gtag.track,2,'0') to generate the proper value for the string in the filename.
%R% != %F1% filter
Re: %R% != %F1% filter
You could use something like :
or use a script variable (preferred) :
and use the above in your filter, for example :
Code: Select all
0%R% != %F1% and
%R% != %F1%
or use a script variable (preferred) :
Code: Select all
begin
if Padleft( gTag.Track, 2, '0' ) = gTag.ParseValue( '%F1%', false, false ) then
var_result( '1' )
else
var_result( '0' );
end.
Code: Select all
%@chk_track.scv% = 0
-
- Sr. Member
- Posts: 294
- Joined: Wed Sep 15, 2010 1:38 pm
Re: %R% != %F1% filter
Thank you, works fine.
In the filter setting I propose to implement the three dot and the menu (tag field, extended tag field, ...) in the Value column too, not only in the Field column, because now the field and value column works the same way, if I understand well.
In the filter setting I propose to implement the three dot and the menu (tag field, extended tag field, ...) in the Value column too, not only in the Field column, because now the field and value column works the same way, if I understand well.
Re: %R% != %F1% filter
Yes I want to add an ellipsis button to all the controls that accept %variables for example the options and a few other places like the value column in the filter, I hope i can implement it during the 0.89 beta cycle
-
- Sr. Member
- Posts: 294
- Joined: Wed Sep 15, 2010 1:38 pm
Re: %R% != %F1% filter
Great, thank you.