NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 199 200 201 202 203 … 433 Next »
StartScreenSaver bat running at wrong time

StartScreenSaver bat running at wrong time
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#1
2014-05-11, 09:58 AM
As the title says my start/stop screen saver bat files are running at the wrong time

Seems to run after i start freds samsung app (StopScreenSaver.bat)
then after i shutdown the app/bluray player the (StartScreenSaver.bat) runs
I have this turning off the tv on the server which is the lounge TV ,(not good waf )

It doesnt show in the logs as far as i can see.


Not sure where to go from here any ideas?

TV turned off at 9:55pm
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#2
2014-05-11, 06:45 PM
This is a bit of a tough one. You probably need to try being less smart by trying to stuff like this in these batch files.

Freds web client interacts with a session of NextPVR.exe for it's UI and navigating around etc, and this type of activity is enough to keep the screen saver from kicking in. Unfortunately when he starts streaming, it's talking to the webserver in NRecord.exe. His UI session of NextPVR.exe has no visibility of this, and eventually after x minutes decides no one is using UI, so allows the screen saver to kick in.

Pretty much the only options are disabling screen saver, or having Fred periodically send some fake keypress to keep the UI session awake while he's streaming from the web server. The NextPVR.exe session cant do this automatically, because it has no idea the user is interacting with the web server (and in most scenarios the user interacting with the web server should have no effect on the screen saver).
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#3
2014-05-11, 07:27 PM
But why is the screen saver kicking in while someone is watching tv on main server
I would have thought npvr would know this and stop it?
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#4
2014-05-11, 07:40 PM
stustunz Wrote:But why is the screen saver kicking in while someone is watching tv on main server
The screen saver isn't kicking in on the main tv session. The screen saver is kicking in on client session. ie, each session of NextPVR.exe has it's own screen saver, which shows after a period of inactivity. All this typically means, is that session starts showing a mainly black screen with NextPVR logo. This problem is only happening because you tried to get smart and do stuff in these batch files, but hadn't considered that each session of NextPVR has it's own screen saver.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#5
2014-05-11, 07:51 PM
Perhaps what's needed is the ability to have an alternate config.xml file for instances of NextPVR.exe created by remote clients, referenced by the MAC address of the client maybe? for example, config-000D1F3C459A.xml; the user would start by copying the main config.xml, but then the user could make various changes needed for the specific client: stustunz could disable the screensaver, I could edit the menu options, etc. By default all instances of NextPVR.exe would use the default config.xml, unless an alternate one with matching MAC address is found at startup.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#6
2014-05-11, 07:55 PM
OK got ya
I have had it working fine for about a year
worked great because you could just walk away and it sorted itself out
Bugger is all i can say!!!!

Im guessing there is no way of having the batch file run if only the main server goes into screen saver
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,195
Threads: 958
Joined: May 2006
#7
2014-05-11, 08:00 PM
For the web client I ended up turning of the screen saver because NextPVR sends a lot of blank screens with no image and it was causing a lot of confusion. Even with the NMT NextPVR would sleep (if I wasn't detecting network traffic) so I guess I am used to it and decided to keep my backend all the time.

-1 for johnsonx42's option if you did anything do it like you have custom MVP and NMT settings for the MAC.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#8
2014-05-11, 08:06 PM
johnsonx42 Wrote:Perhaps what's needed is the ability to have an alternate config.xml file for instances of NextPVR.exe created by remote clients, referenced by the MAC address of the client maybe? for example, config-000D1F3C459A.xml; the user would start by copying the main config.xml, but then the user could make various changes needed for the specific client: stustunz could disable the screensaver, I could edit the menu options, etc. By default all instances of NextPVR.exe would use the default config.xml, unless an alternate one with matching MAC address is found at startup.
I wouldn't want to go down that path. It'd complicate support etc.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#9
2014-05-11, 08:13 PM
This version doesn't run the screen saver batch files for web client. I think you're the only person using these batch files, so probably a fairly safe change.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#10
2014-05-11, 08:36 PM
Thanks testing now
Yeah I never do anything normal.
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto Update EPG not running as scheduled? BairStrokes 2 1,847 2021-03-26, 12:02 PM
Last Post: NumberFive
  EPG Time shifi Brucek2839 14 4,383 2021-03-25, 08:45 PM
Last Post: Graham
  Recording service stopped or not running at scheduled time MattInetroit 3 1,985 2021-01-08, 12:03 AM
Last Post: mvallevand
  maximize goes to wrong monitor workmanrob 2 1,405 2020-12-27, 03:30 PM
Last Post: workmanrob
  Possible to set the EPG source for more than one channel at a time? LeGrandZombie 15 8,473 2020-12-06, 02:15 AM
Last Post: pitbull1969
  Auto Update EPG not running as scheduled Bobbybear 10 3,836 2020-10-24, 09:24 AM
Last Post: Bobbybear
  Recording service not running at recording time Ricknextpvr 18 6,735 2020-03-26, 03:56 PM
Last Post: sub
  Channel order wrong - any ideas? Bunkermentality 36 10,353 2019-12-17, 03:04 PM
Last Post: mvallevand
  HDHR Recordings Include Data From Wrong Channel During Post-Padding BrettB 2 5,276 2019-10-12, 05:34 PM
Last Post: mvallevand
  IR Blasting from Kodi running NextPVR addon three6zerocool 11 3,039 2019-07-31, 04:51 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode