Is there any solution to deactivate monitor standby during the playback? My speakers in my monitor so they turn off when the monitor goes to standby.
it's not automatic but you could create desktop shortcuts to run these commands.
//stop the monitor from going into standby
powercfg -x -monitor-timeout-ac 0
//reset it back to the default 15 minutes
powercfg -x -monitor-timeout-ac 15
these commands work on vista/7 - not xp. i'm pretty sure these will require that you're logged on as an administrator.
you could even use foo_run to create buttons in foobar to run these commands.
But it's a good suggestion to add such an option to foobar2000.
Thx the advice.
But I kept hoping, there is a built in function or script in foobar, what makes it automatically.
But it's a good suggestion to add such an option to foobar2000.
How can I suggest it?
Now you have
Sorry to revive this old thread, but i think this has not been addressed...
It would be great, because it happens with hdmi too.
For example: if windows suspends the monitor while doing playback this will result in an audio dropout, which is logical since hdmi needs the video clock to transmit audio.
Disabling monitor shutdown in the power manager prevents this from happening, but its preferable to disable monitor shutdown only when doing playback
i probably will end-up using a dedicated spdif cable, but not everyone can do this due to hardware limitations
I've also had to configure Power Options to set "Turn off the monitor" to "never and am using a blank screensaver only. Obivously, this is not the most environment friendly power setting.
+1 , as in near future I plan to more often use my amplituner to listen to music from PC and I already have HDMI cable hidden in baseboard...
as a work-around solution, foo_scheduler can run power config commands automatically on playback start/stop, or by timed events, etc.
I made a component that stops monitor from entering standby when playback is active. I think it's better than running powercfg commands. Download here (http://www.saunalahti.fi/~cse/foobar2000/foo_nds.fb2k-component).
Case, is there any config option for your plugin? Like turning it on or of?? How exactly it works? Is there any documentation for it ?
documentation for this?
I made a component that stops monitor from entering standby when playback is active.
what more needs to be said? i guess it simply tells the OS to keep the monitor on much like a video player does.
There is nothing to configure. When the playback starts it tells the operating system that display is required. When you hit pause or stop it tells the OS that display is no longer needed, letting normal power saving features do their thing. If you want this behavior you install the component and forget it.
My exact questions are:
1. Does this component turns off screensaver and powering down of screen only when foobar plays music or maybe whatever foobar is doing, like converting music, calculating BPMs, just running idle etc. ?
2. Does this plugin require foobar to be on focus or maybe foobar can be minimized and running in background and it still works?
3. How it "simply tells the OS to keep the monitor" in details? I am using COMODO Firewall pro with Proactive Defense. If it sends Windows Messages or acesses memory of some system process I need to configure Comodo first as this can cause problemws with Windows UI (blank screen can stall and only power reset can help).
4. Is there any option to stop functionality of this plugin without deinstallation from foobar? Until now I haven't found such option in foobar, but maybe I wasn't careful enough. OK, now it's answered
Documentation should contain answers to such questions
1. Screensaver has nothing to do with power management. Its settings are not touched. Display power saving is disabled only when playback is active.
2. No requirements.
3. Windows has a function SetThreadExecutionState (http://msdn.microsoft.com/en-us/library/windows/desktop/aa373208%28v=vs.85%29.aspx) to do that.
Many thanks Case !! For both programming effort and explanations . You got new user
It seems that Microsoft has changed the behavior of the SetThreadExecutionState function. Its documentation says "This function does not stop the screen saver from executing", yet it very much does so. At least on Windows 7 and Windows 8.
I tried the newer PowerSetRequest (http://msdn.microsoft.com/en-us/library/windows/desktop/dd405534%28v=vs.85%29.aspx) function with the same result. Screen saver won't run when using the PowerRequestDisplayRequired value.
Sorry for giving misinformation earlier.
Case, could you add some simple option that would allow to control weather use or not use your plugin functionality? I mean that it would be nice if I could create keyboard shortcut which would allow to turn it on or off. Depending on output used, this option is required (HDMI output) or not (PC speakers connected to soundcard jack outputs). It could be nice if I could simply press "Shift+S" (this is how it would be configured here ) and disable this function and save some power used by PC monitor if I not use HDMI output at the moment.
You could always turn the monitor off with its power button, but I updated it with this option. It's found under Playback in main menu. Download is here (http://www.saunalahti.fi/~cse/foobar2000/?changes=foo_nds).
Case, could you add some simple option that would allow to control weather
Damn users, always thinking everything is so simple to program!
dhromed - I didn't mean "simple to code" but simple in usage, simple as a working routine. I treasure all programming efforts, of all people who contribute to foobar's usability. I know how hard is coding of anything - I tried to learn how to do it in C++ and assembler but I failed and in the end the only code that I am able to produce is MatLab script. Mostly when MatLab's help is opened all the time.
Other thing is that I only asked. He could simply say "no" or "no, I don't have time for it" if he wanted to be more precise .
Thanks Case for this update
EpicForever - dhromed meant that it's a bit hard to incorporate a way of controlling the weather with foobar2000.
Hint: http://www.grammar-monster.com/easily_conf...ther_wether.htm (http://www.grammar-monster.com/easily_confused/weather_whether_wether.htm)
LOL... lolzords... I am bit embarassed now :/
But hey, why not? We are making so much efforts to create proper weather forecasts and after so many years they're still imprecise. Why not to control weather instead of forecasting it? Foobar will be the first on planet...
Additionally after so many years of lerning English I got only slightly better results than with C++... I should stick with MatLab then... :/
Just a silly question - am I wrong or it was just implemented in main program with introduction of foobar 1.2.6 (last option under "Playback") ?
But as far as I investigated it foo_nds is better option - it lets you enabling and disabling this function with own keyboard shortcut.
I installed the component on my Sony Duo on Windows 8.1 and swiched it ON in the menu.
But when I'm playing music, the monitor goes into standby and the music stop playing.
I´d like to have no monitor standby while playing music on foobar2000.
What do I have to Change?
I'm not familiar with software Sony bundles with their machines but it certainly sounds like they bundle something that prevents Windows power savings from working the way they should. If the only software on it is what Sony support page has available to download, then my guess would be that Control Center causes this behavior. You could try uninstalling these bundled programs to see if it helps.
Hi case, thank you, i will test it, after creating a backup
At the Moment, I help myself with a small Programm called "DontSleep_x64.exe"