Results 1 to 7 of 7

Thread: keep server awake when watching live tv via npvr app

  1. #1
    Join Date
    Mar 2018
    Location
    kent
    Posts
    118

    keep server awake when watching live tv via npvr app

    hi, i use this batch code with the following command
    cd c:\
    shutdown /h

    i only use this becasue it works well. as windows 10 power and sleep timer all over the place and buggy.

    is there away i can put something in this command to keep the sever awake whilst watching tv via the npvr app. I will start watching something then the sever turns off because it thinks the systems is at idle, the bat file is set to sleep on idle. this works well with scheduled recordings and does not sleep whilst recording. i have set up wake on lan via the bois and in windows.

    Can any one help

  2. #2
    Join Date
    Dec 2005
    Location
    UK
    Posts
    3,125
    Quote Originally Posted by spudjg1 View Post
    is there away i can put something in this command to keep the sever awake whilst watching tv via the npvr app.
    nscripthelper is what you need ... it should be in the NPVR folder in Program Files ... https://forums.nextpvr.com/showthrea...110#post471110
    i5 750 2.67 GHz, 6 Gig, 1000 Gig, Nvidia N710
    2 x Hauppauge WinTV QuadHD DVB-T2

  3. #3
    Join Date
    Mar 2018
    Location
    kent
    Posts
    118
    Quote Originally Posted by Graham View Post
    nscripthelper is what you need ... it should be in the NPVR folder in Program Files ... https://forums.nextpvr.com/showthrea...110#post471110
    OK, i couldn't make much sense of that quoted forum page. if i was to open NScriptHelper on idle via bat file ? i do allready have that file in that directory mentioned.

  4. #4
    Join Date
    Dec 2005
    Location
    UK
    Posts
    3,125
    Quote Originally Posted by spudjg1 View Post
    OK, i couldn't make much sense of that quoted forum page. if i was to open NScriptHelper on idle via bat file ? i do allready have that file in that directory mentioned.
    Is this the post that you are looking for?

    The nscripthelper -isinuse command is used to report if NextPVR Recording Service is busy and the "For tokens" command puts the response into a batch file variable.
    i5 750 2.67 GHz, 6 Gig, 1000 Gig, Nvidia N710
    2 x Hauppauge WinTV QuadHD DVB-T2

  5. #5
    Join Date
    Mar 2018
    Location
    kent
    Posts
    118
    OK,sorry for late reply. I'm a little confused. Doesn't take much! . How would I use this command to keep my pc a wake when using and android device

  6. #6
    Join Date
    May 2006
    Location
    Canada
    Posts
    27,715
    Live TV should be handled. Like recording and your server should stay awake without scripting. You probably should duplicate the problem and then send the logs. If it happens while paused that is a different problem.

    Martin

  7. #7
    Join Date
    Jan 2011
    Location
    North Gloucestershire, England
    Posts
    813
    The problem I had was the client started the server using WOL but often the server went to sleep before I was ready to watch or if I paused for too long. I ended up using software called "Smartpower". It takes over Sleep from Windows and it has a range of options you can define which prevent sleep. Unfortunately NextPVR can no longer prevent sleep so I use processor usage to prevent sleep during record and presence of client IP addresses to prevent sleep during play back and during pauses. It has worked for me for several years!

    Chris
    NextPVR Server - HP N54L Microserver, Windows 8 - Storage 2 X 3TB - Tuners DVBSky S952 Twin DVB-S/S2 PCIe, August T210 DVB-T/T2 USB, KWorld UB499-2T Twin DVB-T USB.
    Clients:- 2 X RPi3, Acer RL80 Celeron Nettop all running X-NEWA on LibreElec plus Amazon Fire Stick (32bit) running X-NEWA on Kodi.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •