Help - Search - Members - Calendar
Full Version: Displaying LAME profile
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
JunkieXL
I've been using the modified foo_input_std.dll file for some time now to get the LAME profile and version information. I've been using that information in my track info panel. But now that I've started encoding with the new 3.97b1 LAME that info isn't being displayed. The version will display fine but the profile (preset) is blank and the index is always 0.

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),)

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
Cosmo
sorry, just realised that I had a comprehension problem here
Olive
What about %__lame_version%[ '('%__lame_profile%')']?

Edit:
QUOTE(JunkieXL @ Sep 16 2005, 02:34 PM)
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?
*


http://www.hydrogenaudio.org/forums/index....showtopic=34391
JunkieXL
Cool thanks...That did the trick biggrin.gif
Here's what my new string looks like now.
CODE
$if(%__lame_version%,$get(head)Encoder: $get(info)%__lame_version%[ '('%__lame_profile%')']$char(10),)

Which will result in this for the previous LAME versions
Preset: LAME 3.96 (aps) [or whichever preset you used]

And for 3.97b1 I'm getting this
Preset: LAME 3.97

I'll look into that plugin you linked to. It still seems a bit unstable, but when I have a few minutes I'll check it out.
Thanks again,
J
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.