|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Can Client send WOL if Server off?
I was wondering if there is an STVi or other "built in" method of the client sending a magic packet to the server if not on.
I know there are many options out there for WOL, i've even written stuff for Meedio, but I want to be able to launch SageClient from Meedio, and have the client send a WOL Packet if needed. Any thoughts/suggestions? Ryan |
#2
|
|||
|
|||
I don't there is anything built in but with SageMC and dynamic menus you can call a VBS script that calls a wol executable with the mac address of the server.
I've also got a script that sends the packet when the client comes out of standby so I rarely use the menu item I added cheers Tim
__________________
Tecra M5, 2 x HD200, 2 x HD300 2 x PCTV 290e Win 7, Sage 7.1.9, Phoenix 2 STV Stephane's XMLTV Importer, Digiguide, |
#3
|
|||
|
|||
Quote:
Currently, I manually launch a batch file that runs WOL. Your approach sounds a lot more elegant. |
#4
|
|||
|
|||
Sure, its cobbled together from bits found here and on the net.
Option Explicit Dim wmiPowerManagementEvent, WshShell, oShell Const cntEventEnteringWakeup = 7 Set wmiPowerManagementEvent = GetObject("winmgmts:").ExecNotificationQuery("Select * from Win32_PowerManagementEvent") Do If wmiPowerManagementEvent.NextEvent.EventType = cntEventEnteringWakeup Then Set oShell = WScript.CreateObject ("WScript.shell") oShell.run "c:\\wol.exe 0040ca25cc99" End If Loop Save as monitor.vbs and double click to run it. You won't see anything happening but you look in task manager there is a process called wscript running (useful if you need to kill it as it will let you run multiples!) If you want it to run automatically, add it to the users start group so it gets run on logon. Obviously, you will need to have obtained a copy of wol.exe from the net and saved it in c: for this to work This is a cut down version of the script. My full one stops sage client and restarts it on wakeup (I had a problem where the mp3 album art was disappearing after wakeup and this was the easiest way to fix it !) Cheers Tim
__________________
Tecra M5, 2 x HD200, 2 x HD300 2 x PCTV 290e Win 7, Sage 7.1.9, Phoenix 2 STV Stephane's XMLTV Importer, Digiguide, |
#5
|
|||
|
|||
Thanks Tim
I'll give this a try. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Client can't connect to Server anymore | happyfirst | SageTV Software | 3 | 10-23-2007 12:23 PM |
SageTV Client lockups and associated server side error | Surtr | SageTV Software | 1 | 05-28-2007 06:55 AM |
Can Sage Client wake Sage Server? | lovingHDTV | SageTV Software | 3 | 02-19-2007 04:01 PM |
Developing STV for Client and CLient on Server machine | antplugger | SageTV Studio | 2 | 03-30-2006 05:09 PM |
Client Server Question | mike1961 | SageTV Software | 2 | 12-05-2005 10:37 AM |