So, what I would like to do is set-up an $if command that will display the LAME version and if there is a profile display that as well in (). So, I would get either of these 2 results
LAME 3.96 (aps)
LAME 3.97
Here is the string I have been using.
CODE
$if(%__lame_profile%,$get(head)Preset: $get(info)%__lame_version%' ('%__lame_profile%')'$char(10),)
When using that string, if the %_lame_profile% isn't there it will display this:
LAME 3.97 (?)
I've tried messing around with the string to splitt it up into 2 $if statements. One for the version and one for the profile, but I can't get it to work properly. Here's what I have so far.
CODE
$if(%__lame_version%,$get(head)Preset: $get(info)%__lame_version%,)
$if(%__lame_profile%,$get(info)' ('%_lame_profile%')'$char(10),)
$if(%__lame_profile%,$get(info)' ('%_lame_profile%')'$char(10),)
But when using that string it will always give me LAME 3.9x (?) no matter if the profile info is present or not. I'm still somewhat a noob at configuring foobar and would really appreciate a push in the right direction.
Oh, and is there a way to display the full LAME version (3.96.1, 3.90.3 or 3.97b1) instead of just 3.9x?
Thx,
J
