A workaround using the COM Automation Server https://hydrogenaud.io/index.php/topic,39946.0.html and a Jscript Panel. http://www.foobar2000.org/components/view/foo_jscript_panel
The below Jscript panel script will show you the current Replaygain Mode.
// ==PREPROCESSOR==
// @name "ReplayGain Mode Panel"
// @author "zeremy"
// ==/PREPROCESSOR==
// Jscript Panel (http://www.foobar2000.org/components/view/foo_jscript_panel)
// Requires COM Automation Server installed (https://hydrogenaud.io/index.php/topic,39946.0.html)
var fb2k = new ActiveXObject("Foobar2000.Application.0.7");
var rg_mode_array = ["None", "Track", "Album"];
var rg_mode = fb2k.Playback.Replaygain.Mode;
var g_font = gdi.Font("Segoe UI", 12, 0);
var DT_WORDBREAK = 0x00000010;
var DT_CENTER = 0x00000001;
var DT_VCENTER = 0x00000004;
var DT_NOPREFIX = 0x00000800;
function RGB(r, g, b) {
return (0xff000000 | (r << 16) | (g << 8) | (b));
}
function on_size() {
ww = window.Width;
wh = window.Height;
}
replaygain_mode_timer = window.SetInterval(function () {
rg_mode = fb2k.Playback.Replaygain.Mode;
window.Repaint();
}, 1000);
function on_paint(gr) {
gr.GdiDrawText("Current ReplayGain Mode: " + rg_mode_array[rg_mode], g_font, RGB(0, 0, 0), 0, 0, ww, wh, DT_WORDBREAK | DT_CENTER | DT_VCENTER | DT_NOPREFIX);
}
Works for "None , Album , Track" Modes.
If "New ReplayGain playback mode picking album/track gain depending on current playback order" is selected (versions 1.3.8+) the script will crash because the new method doesn't exist in COM Automation Server fbReplaygainMode.