NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 20 21 22 23 24 … 193 Next »
client side WOL & DB off-line message handling

 
  • 0 Vote(s) - 0 Average
client side WOL & DB off-line message handling
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#1
2015-08-06, 04:52 PM
I am running a client/server configuration where I put the server to sleep if not in use. Currently, I use a script (which works), that wakes the server via magic packet, enters a polling loop until the server DB wakes, and then starts NPVR on the client. Although the process works, it takes a while for the script to execute and start NPVR. I am wondering if this process could be sped up by having NPVR, in client mode, automatically send a magic packet to the server, go into a wait state until the server wakes and the DB is available, then enter the desired NPVR mode?

If the client tries to access the server's database when server is off-line, a "Server database not found" message appears. Clicking the "OK" button clears that message only to be replaced by "unhandled exception" message, displaying a "continue" button. Pressing the continue button only brings back the unhandled exception message again and on and on - in an infinite loop. Only killing the nextpvr task in task manager seems to rid this message. Not very user-friendly, IMO.

The above suggestion would eliminate the infinite loop and hopefully start NPVR on client side much faster.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2015-08-06, 06:44 PM
to speed up starting client, i put server's address into the hosts file on client, as it seems the dns lookups are quite slow leading to slow startup of npvr..
like: 192.169.0.10 pvrhost
[obviously adjust host and ip to your specs]
in hosts file at %windows%\system32\drivers\etc\
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#3
2015-08-06, 07:00 PM
pBS,

Great tip! I put the adr in hosts and it sure did speed startup - thanks!

I am still getting that awkward message though, need to be handled better, IMO.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Clock in UI Client VCR58 5 998 2024-12-29, 11:57 PM
Last Post: artmetz
  Add the date/timestamp to the EPG Update Complete line.. BigBillSD 3 588 2024-10-10, 09:32 PM
Last Post: mvallevand
  Smaller time jumps in EPG for Windows NextPVR Client cliffskier 2 812 2023-11-03, 06:48 AM
Last Post: sub
  subtract time from recordings for web client jobby99 0 581 2023-05-28, 09:09 PM
Last Post: jobby99
  Request for a new error message TGinAZ 2 862 2022-11-02, 12:46 AM
Last Post: TGinAZ
  Windows client list suggestions seattlefog 0 767 2022-10-10, 05:28 PM
Last Post: seattlefog
  Client Request kirschey 7 1,801 2021-10-05, 11:31 PM
Last Post: sub
  Roku Channel / App / Client gEd 6 4,779 2021-06-02, 07:15 PM
Last Post: mmortal03
  Web Client info VCR58 0 945 2021-01-26, 10:05 PM
Last Post: VCR58
  Need negative pre-padding and post-padding values for web client scheduling Egregius 1 1,192 2020-10-29, 12:00 AM
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