Jump to content

Wake a media player?


sam_roberts30

Recommended Posts

Posted

Can an unraid server send a wake on LAN packet when it boots from sleep? So it will boot my media player when coming out of sleep.

 

I tried and tried to get my media play to do it but it can't be done. The media player will never be used without the unraid and vice versa. I have a device that converts ir signals to a WOL packet but it was tres expensive so would like to try do it without having to buy another one.

 

Any ideas?

Posted

You could modify the Java code here into an AWK script potentially and get unRAID to wake up your media player.  I modified this or one like it to use with a SageTV server that was "always on" to wake my other servers.

Posted

Since the OP did not state what kind of media player he is using, we have no idea whether it will respond to a wake-on-lan request or not.  Many basic players will not, although HTPCs often can be configured to do so.

Posted

Sorry it is a Digital Future Solutions Base media server. It does wake on LAN. I have it waking using WOL from my irtrans unit (the device that converters an ir command to wol packet) and sleeping using ip control supplied by the manufacturer. I was thinking that if I use the irtrans to wake the unraid and the unraid to wake the base it would save me around £160 by not buying another irtrans.

Posted

Understood,  thanks.

 

Is it not possible to send two WOL commands from receiving one IR command, or to configure two IR commands so that each sends a different WOL command?  I don't have one of these, but I had a very quick look at the product's web pages - it looks quite interesting.

Posted

Unfortunately not. I asked the manufacturer and it is a case of 1 ir command and 1 mac address per unit.

 

If it was cheaper I would just have 2, one for the base and one for the unraid. And if I can't find a way of getting around it, that's what will end up happening. Would highly recommend it though.

Posted

I've never used one but I've read of many others successfully using them. You Learn a remote command and then it "presses" the power button when that command is received. Pretty simple.

 

The PCS-2 will learn a remote command for on and a different remote command for off.

 

Peter

 

Posted

I took the plunge and ordered one. Solves the WOL issue. Hopefully everything will works as expected, but it's never quite that simple.

 

I have a Nevo S70 which can run  macros. The plan is to run the following on the "watch a movie" icon:-

 

Load "system loading, please wait..." page on the screen of the remote

Send "power on" to the IRTrans to start booting the DF Base.

Send "power on" to PCS-2 (using custom IR code) to start loading the UnraidSend "power on" to the receiver. That will turn on the projector using the 12v trigger  on the amp which in turn will lower the projector. screen.

Delay 60 secs

Send "Refresh Media Library" to DF base.

 

Well thats the plan anyway. Thanks for heads up on the PCS-2, never knew it existed.

Posted

Just an update. My Unraid isn't finished yet, still have a few important parts to be delivered but I did test the functionality of every thing. As it stands now (spread all over the living room=wife not happy) a press of the watch a movie button on my remote initiates a macro that boots all the equipment needed to watch a movie. I have a little bit of tweaking to get all the timings right but it looks like its good to install all the kit in the cinema room's rack. Ill post pics/vid when all's done.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...