Skip to main content

Recent Posts

1
hi
i there an easier way to download coverart from youtube or extract from audio files to another folder while playing?
maybe someone know how to do that powershell thin in the panel script?

i am using this plugins...
https://github.com/marc2k3/foo_jscript_panel
https://fy.3dyd.com/download/
http://skipyrich.com/wiki/Foobar2000:Now_Playing_Simple
https://github.com/farpenoodle/FB2KNowPlayingOverlay

this is my panel script it triggers a powershell script which is placed in the root of  FB2KNowPlayingOverlay
Code: [Select]
function on_playback_new_track(metadb) {
WSH = new ActiveXObject("WScript.Shell");
var path = fb.TitleFormat("%path%").Eval(true)
fb.Pause()
WSH.run("powershell.exe -ExecutionPolicy ByPass -f D:\\OBS\\plugins\\nowplaying0.1\\reader.ps1 \"" + path + "\"",0,true);
fb.play()
}

reader.ps1 powershell script
Code: [Select]
$ErrorActionPreference = 'SilentlyContinue'
Import-Module BitsTransfer
Push-Location $PSScriptRoot
if ($args.count -gt 0) {
remove-item "$PSScriptRoot\images\1.jpg" -force
$path = $args[0]
if ($path -like "*youtube*") {
$ytID = $path.split("=")[1]
$output = "$PSScriptRoot\images\1.jpg"
$checkURL = try {Invoke-WebRequest -Uri "https://img.youtube.com/vi/$ytID/maxresdefault.jpg" -Method 'HEAD'} catch {$false}
if ($checkURL) {
$url = "https://img.youtube.com/vi/$ytID/maxresdefault.jpg"
} else {
$url = "https://img.youtube.com/vi/$ytID/hqdefault.jpg"
}
Start-BitsTransfer -Source $url -Destination $output
} else {
.\ffmpeg.exe -hide_banner -loglevel panic -i $path -c:v copy "$PSScriptRoot\images\1.jpg" -y
}
}
Pop-Location

also tried this solution https://sometings.wordpress.com/2016/11/17/executing-powershell-encoded-within-a-vbscript/
but not tested much because jpanal crashed everytime :/

kind regards
beth
2
3rd Party Plugins - (fb2k) / Re: PSS and JScript interaction
Last post by fbuser -
How can I make sure that, on start up, the code in a JScript panel is executed before the title formatting script in the panel stack splitter is evaluated?
You can't.
Is that even possible in the first place?
Not at all.


3
Opus / Re: Opus 1.3-beta is here
Last post by IgorC -
Note that the 95c4871 build is just some point early in the 1.3 development, before some of the speech-related changes. I'll get back to you later on this.
Yes, I know. Previously I understood You correctly.

In the mean time, I've come across some TF-related issues and made some builds for testing: ...
Great. I'll try them later these days and will report.
Question. AFAIK your plans about 1.3 cover mainly low bitrates as You have already mentioned it here 
So I will test mainly 32 kbps, stereo and maybe 48 kbps, all right?  Opus is already very good at 48 kbps and higher.

4
3rd Party Plugins - (fb2k) / PSS and JScript interaction
Last post by davideleo -
How can I make sure that, on start up, the code in a JScript panel is executed before the title formatting script in the panel stack splitter is evaluated? Is that even possible in the first place?
The JScript panel is in forced layout mode in order to make sure it is resized on startup (the code that needs to be executed first is triggered by an on_size function), and on top of the layout tree, but that doesn't seem to help.
5
Opus / Re: Opus 1.3-beta is here
Last post by jmvalin -
32 kbps opus-tools-newtf.zip:
High frequencies especially synth with (fart like sound, I don't know what sample it is) I noticed a good improvement compared to Opus 1.3 Beta:  the sound is less muddy, more clear.
But with this improvement I think  vocal lost a bit of presence  and detail (warmth).    (I tested with a Rock track, not acapella)..
Sure, an optimization could further improve the quality.
Can you provide the samples you're talking about here so I can listen to them? Both the one that's better and the one that's worse (ideally the original and the coded files to make sure everything's right).
6
AAC - General / Re: "Lossless" AAC sample rate adjust?
Last post by greynol -
Of the tests I've seen, transcoding with AAC isn't a perceptible problem; nothing at all like the wise internet parrots make it out to be.
7
Support - (fb2k) / Re: Decoding failure (Security error)
Last post by j7n -
The updates was supposed to be automatic since Vista or later... I'm not sure. Windows is not very clear in the error message as usual. I wouldn't put much effort into this, and possibly break something else in the process.

I can also play the streams if I add deluxe-radio.mivitec.net in Foobar to Advanced preferences -> Networking -> Suppress HTTPS cerificate checks for domains

Тo play other radio streams than Deluxe, just change the last number, or see what they all are on the Icecast page, where you can get an m3u with a click.
8
Support - (fb2k) / Re: Decoding failure (Security error)
Last post by Vittorio -
Try removing https and chaning the port to use plain HTTP like so:

https://deluxe-radio.mivitec.net:8443/0001

http://deluxe-radio.mivitec.net:8000/0001

Many Thanks !! that worked :)

There is probably an issue with SSL certificates with the site or in your operating system (Internet Explorer). Maybe Windows needs updated root cerificates.
Issue with the operating system. They work here. Check your certificates against the secure stream link above.

How can I update the root certificates? I checked some MS Support articles but I don't get what the're writing...

https://support.microsoft.com/en-us/help/931125/how-to-get-a-root-certificate-update-for-windows
an then:
https://support.microsoft.com/en-us/help/2970908/how-to-use-microsoft-easy-fix-solutions
On the above page there's a bunch of links and tools and I have no idea which one to take.

Is there an easy n00b guide for the certificate update procedure?

Many thanks in advance
9
3rd Party Plugins - (fb2k) / Re: foo_wave_seekbar
Last post by Case -
60 fps has been the default. The update logic has been a bit different from zao's original version but I don't think it should affect stuttering.

Do you have some visualizations or anything else weird in the UI? Once you hit stop or pause the component draws a few frames and then stops the refresh timer. Minibar at that point won't consume any CPU or GPU resources.
 
I replicated the state update bug, btw. I'll get it fixed but perhaps not today. Movie night.

Edit: fixed. Updated versions available.
10
3rd Party Plugins - (fb2k) / Re: Columns UI
Last post by Sergey77 -
Hello Dear musicmusic,
I'm happy to use Columns UI, I really like it, thanks for your work!
And I would like to offer one improvement.
Could you realize the possibility of viewing the full contents of the MOD/XM sample list in the window "Item properties" of CUI as in XMPlay (See attach XMP pic).
Now all the sample text is not visible in the window only if you select the function properties (See attach Foobar CUI).

Thank You.
Best Regards.