ZitatFixed an embarrassing RAR regression that caused content of RAR archives to be extracted to the current directory while reading, failing to read archive if not possible to extract.
ReFacets sorting changed to match playlist & album list sorting.
ReFacets fixed unwanted scrolling on focus change.
Fixed incorrect handling of HTTP redirects with spaces in path.
Made not flash main window if started with /hide switch.
WASAPI exclusive channel mask negotiation logic update - 5.1-side could be preferred over 7.1, causing unwanted channel remapping.
$font(Microsoft Sans Serif,16.700)%codec_profile% / %bitrate% kbps
var cfg_foobarpath = window.GetProperty("foobar path:", fb.Profilepath);
var cfg_codec = window.GetProperty("i folder:", "images");
var svg_file = cfg_foobarpath + cfg_codec + "\\nocodec.svg";
var svg_content = utils.ReadUTF8(svg_file);
var dui = window.IsDefaultUI;
var original = utils.LoadSVG(svg_file);
function on_paint(gr) {
gr.FillRectangle(0, 0, window.Width, window.Height, dui == 1 ? window.GetColourDUI(1) : window.GetColourCUI(3));
if (original) {
var scale = 0;
var x = 0,
y = 0;
var scale_w = window.Width / original.Width;
var scale_h = window.Height / original.Height;
if (scale_w <= scale_h) {
scale = scale_w;
y = (window.Height - original.Height * scale) / 2;
} else {
scale = scale_h;
x = (window.Width - original.Width * scale) / 2;
}
gr.DrawImage(original, 0, 0, window.Width, window.Height, 0, 0, original.Width, original.Height);
}
}
if(fb.IsPlaying || fb.IsPaused) {
codec = fb.TitleFormat("%codec%").Eval();
original = utils.LoadSVG(cfg_foobarpath + cfg_codec + "\\" + codec + ".svg");
window.Repaint();
}
else {
original = utils.LoadSVG(svg_file);
window.Repaint();
}
function on_playback_new_track() {
codec = fb.TitleFormat("%codec%").Eval();
original = utils.LoadSVG(cfg_foobarpath + cfg_codec + "\\" + codec + ".svg");
window.Repaint();
}
function on_playback_stop(reason) {
original = utils.LoadSVG(svg_file);
window.Repaint();
}
Seite erstellt in 0.008 Sekunden mit 13 Abfragen.