Page 1 of 1

Disable screensaver only when playing video

Posted: 18 Sep 2008 06:45
by Murz
We have an option "Disable screensaver" in "Video" settings. It disables screensaver for me all time when VLC is open (system is Kubuntu KDE4.1). But I need the disabling screensaver feature only when video playback is running. When I press "pause" or "stop" or video ends, my computer don't want go to energy saving mode and turn off monitor.
For example, I look the movie, but I need to go away for some time. I press "pause" and go away for a long time. All this time computer shows the screen and don't turn off monitor and don't goes to energy saving mode.
Can we add an option "Disable screensaver only when playback video"?
Maybe will be good an additional options "Disable only in fullscreen mode" and "Disable only when window is active".
Anyone else need this feature? Or how another people solve problems like mine? :wink:

Re: Disable screensaver only when playing video

Posted: 18 Sep 2008 14:26
by VLC_help
IMHO too many options :D There should only be few simple options that every user can fully understand.

Re: Disable screensaver only when playing video

Posted: 18 Sep 2008 14:54
by Murz
IMHO too many options :D There should only be few simple options that every user can fully understand.
Not too many, only 3 new options:
  • Disable screensaver always (already exists)
  • Disable screensaver when playback only
  • Disable screensaver on FullScreen
  • Disable screensaver if window is active
I need only second option (when playback only) and vote for deleting other 3 options :)
But something else maybe need more than me :?
Maybe do a hidden option that tune the "Disable screensaver" behavior for advanced users?
Many video players that I try for linux and windows disables screensaver only when video is playing and some of it - when video is paused. And noone disables screensaver when video is stopped. Why VLC disables screensaver all time when it loaded?

Re: Disable screensaver only when playing video

Posted: 18 Sep 2008 17:58
by dionoea
I'd add Disable screensaver when playback of video file (as opposed to audio) ;)
If you want to have a go at editing the source code and compiling VLC, feel free to do so. This idea shouldn't be too hard to implement ... and it might lead you to other VLC improvements :) (we need all the help we can get)

Re: Disable screensaver only when playing video

Posted: 19 Sep 2008 11:27
by VLC_help
With video I only have to add this to event Windows processing. I will try to patch this tomorrow.

Re: Disable screensaver only when playing video

Posted: 21 Sep 2008 14:08
by VLC_help
No builds this weekend. My build environment is broken :cry:

Re: Disable screensaver only when playing video

Posted: 28 Nov 2009 13:53
by Murz
Any news about this problem?

Re: Disable screensaver only when playing video

Posted: 30 Nov 2009 13:14
by VLC_help
I created a patch, but it isn't pretty.
http://mailman.videolan.org/pipermail/v ... 54231.html

Re: Disable screensaver only when playing video

Posted: 30 Nov 2009 13:41
by Murz
VLC_help, this message is about new method of disabling screensaver on win32, but for enabling screensaver on pause can you use old method?
And I have using kubuntu linux, not win32... and old disabling screensaver method works perfectly for me instead of in pause.

Re: Disable screensaver only when playing video

Posted: 01 Dec 2009 14:15
by cofficavic
I created a patch, but it isn't pretty.
http://mailman.videolan.org/pipermail/v ... 54231.html
Thanks for your patch.

Re: Disable screensaver only when playing video

Posted: 01 Dec 2009 15:37
by VLC_help
but for enabling screensaver on pause can you use old method?
Not under Win32. That would also require code changes. I don't know about other platforms.