NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 35 36 37 38 39 … 1231 Next »
Waking Server from Client WOL (Batch file)

 
  • 0 Vote(s) - 0 Average
Waking Server from Client WOL (Batch file)
imagn
Offline

Senior Member

Posts: 437
Threads: 65
Joined: Mar 2008
#1
2010-03-19, 01:29 PM
I used this info from the forum to create a batch file for my clients to start the server before GBPVR is loaded. I just recently rebuilt the server with a new motherboard and it seems that it is a little slower to load things than the old one and concenquently i am getting the red X's on my clients.

The simple fix is having the bat delay starting pvrx2.exe but i have not figured out what the wait command is

Can someone help. here is the basic file info i am looking to place the delay between echo server found (wait 5 seconds) then C:\Progra~1\devnz\GBPVR\PVRX2.exe

set start=0
set end=3
wol MACADDRESS

:ping
ping SERVER | find "Reply" > NULL
if errorlevel=1 goto loop
echo server found
C:\Progra~1\devnz\GBPVR\PVRX2.exe
exit

:loop
if %start%==%end% goto stop
set /a start=%start%+1
goto ping

Confusedtop
echo server not online

Any help would be greatly appreciated

Thanks
HTPC Server: 2.3gh AMD Quad 9600, 4GB ram, 320gb HDD, 1TB HDD, and 750GB External USB HDD, NVIDIA GeForce 8600gt, Win 7 (32bit), (2x) HVR2250 using QAM

Client: AM2 5600, biostar 790GX (onbard HD3300), 4gb memory, Vista, LM remote mapping app, Acer Revo R3610 (Atom N330) Win 7, 785G (HD 4200), Win 7, 4gb ram
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2010-03-19, 09:41 PM (This post was last modified: 2010-03-19, 10:33 PM by pBS.)
DelayedStart.exe 5000 C:\Progra~1\devnz\GBPVR\PVRX2.exe
will delay starting pvrx2 by 5 secs (5000milliseconds)..Smile
check to make sure DelayedStart.exe is in pvrx2 dir tho...not sure if it comes with install..

or a simple "ping 0.0.0.0 -n 5" willl also delay 5 secs...

oh and if not using DelayedStart.exe, then use "start C:\Progra~1\devnz\GBPVR\PVRX2.exe" or the batch file will stay open till you close pvrx2.exe...using DelayedStart.exe functions like win's "start" cmd so it's ok as-is..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
imagn
Offline

Senior Member

Posts: 437
Threads: 65
Joined: Mar 2008
#3
2010-03-20, 03:11 AM
Thanks, i decided to go with the ping and I added > null to the end to hide it

working great

Thanks
HTPC Server: 2.3gh AMD Quad 9600, 4GB ram, 320gb HDD, 1TB HDD, and 750GB External USB HDD, NVIDIA GeForce 8600gt, Win 7 (32bit), (2x) HVR2250 using QAM

Client: AM2 5600, biostar 790GX (onbard HD3300), 4gb memory, Vista, LM remote mapping app, Acer Revo R3610 (Atom N330) Win 7, 785G (HD 4200), Win 7, 4gb ram
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#4
2010-03-20, 11:00 AM
I set the ping to my server address - then when it wakes up the pings run much faster so less wasted time waiting for the timeout.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  how to use IR server suite with GBPVR zaprat 82 62,126 2018-11-18, 05:32 PM
Last Post: Len_Lekx
  file types of recorded TV paul1 3 3,661 2012-09-30, 05:20 PM
Last Post: sub
  GBPVR XPSP3 Server and Win7 Client Snooze 0 1,813 2011-09-12, 06:26 AM
Last Post: Snooze
  Cant play recording on client imagn 2 1,696 2010-12-13, 02:17 AM
Last Post: imagn
  Server goes to sleep while client is in use. JP23 0 1,485 2010-10-07, 08:45 AM
Last Post: JP23
  Net Radio not working on client PC JP23 2 1,693 2010-09-14, 10:45 PM
Last Post: JP23
  No Data In the Recorded File zb1 5 2,215 2010-08-24, 01:08 AM
Last Post: zb1
  Path to file being recorded. brianj 5 2,258 2010-08-08, 10:58 PM
Last Post: brianj
  Easy way to toggle Client/Server without using Config? Dan the man 2 2,069 2010-08-02, 11:53 AM
Last Post: Reddwarf
  error: failure playing back file yonu 4 2,010 2010-07-12, 12:52 AM
Last Post: yonu

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

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

Linear Mode
Threaded Mode