In foobar2000 I have a column called 'tempo' and another called 'value'. In the 'value' column I need a script that says:

If tempo tag contains the text 't-1', enter 99 into the value tag. If tempo tag contains the text 't-2', enter 98 into the value tag. If tempo tag contains the text 't-3', enter 97 into the value tag. 

The following script is as far as I've got, but all this does is put 99 regardless of whether the text is t-1, t-2 or t-3:

$if($strchr($meta(tempo),t-1),99)

I'd be so grateful if someone could help me with this.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy