Disable screensaver only when playing video

Feature requests for VLC.
Murz
New Cone
New Cone
Posts: 5
Joined: 18 Sep 2008 06:34

Disable screensaver only when playing video

Postby Murz » 18 Sep 2008 06:45

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:

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Disable screensaver only when playing video

Postby VLC_help » 18 Sep 2008 14:26

IMHO too many options :D There should only be few simple options that every user can fully understand.

Murz
New Cone
New Cone
Posts: 5
Joined: 18 Sep 2008 06:34

Re: Disable screensaver only when playing video

Postby Murz » 18 Sep 2008 14:54

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?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Disable screensaver only when playing video

Postby dionoea » 18 Sep 2008 17:58

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)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Disable screensaver only when playing video

Postby VLC_help » 19 Sep 2008 11:27

With video I only have to add this to event Windows processing. I will try to patch this tomorrow.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Disable screensaver only when playing video

Postby VLC_help » 21 Sep 2008 14:08

No builds this weekend. My build environment is broken :cry:

Murz
New Cone
New Cone
Posts: 5
Joined: 18 Sep 2008 06:34

Re: Disable screensaver only when playing video

Postby Murz » 28 Nov 2009 13:53

Any news about this problem?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Disable screensaver only when playing video

Postby VLC_help » 30 Nov 2009 13:14

I created a patch, but it isn't pretty.
http://mailman.videolan.org/pipermail/v ... 54231.html

Murz
New Cone
New Cone
Posts: 5
Joined: 18 Sep 2008 06:34

Re: Disable screensaver only when playing video

Postby Murz » 30 Nov 2009 13:41

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.

cofficavic
New Cone
New Cone
Posts: 1
Joined: 15 Oct 2009 04:04

Re: Disable screensaver only when playing video

Postby cofficavic » 01 Dec 2009 14:15

I created a patch, but it isn't pretty.
http://mailman.videolan.org/pipermail/v ... 54231.html
Thanks for your patch.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Disable screensaver only when playing video

Postby VLC_help » 01 Dec 2009 15:37

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.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 12 guests

cron