INTERACT FORUM

Networks and Remotes => Media Network => Topic started by: brucesee on October 22, 2012, 01:29:10 pm

Title: Using MC to turn on DLNA receiver
Post by: brucesee on October 22, 2012, 01:29:10 pm
I've been experimenting with using MC 17 to stream (via ethernet) to several DLNA devices on my network.  I can see the various devices in MC under the Playing Now section.  When I stream to them (by adding audio files to Now Playing), all but one turn on automatically and even switch to the correct input.  One device, however, does not turn on - a Yamaha RX-A2000 AVR.  To play files via MC on that device, I 1st have to turn the device on and set the correct input.  Given that my other devices respond automatically to MC, am I doing something wrong w/the one device - am I missing some setting in MC?
Title: Re: Using MC to turn on DLNA receiver
Post by: JimH on October 22, 2012, 01:34:39 pm
If a device turns on automatically, it must support something like Wake On Lan (WOL).  This may help:
http://wiki.jriver.com/index.php/Wake_on_Lan

Check the manual of the device.
Title: Re: Using MC to turn on DLNA receiver
Post by: AndrewFG on October 24, 2012, 02:58:33 am
If a device turns on automatically, it must support something like Wake On Lan (WOL).  This may help:
http://wiki.jriver.com/index.php/Wake_on_Lan

Jim,

Can you confirm that MC does have the functionality to a) send WOL packets to wake up remote UPnP ContentDirectory server(s), and b) send WOL packets to wake up remote UPnP Renderers? If so how does one enable it? I must have overlooked it...

Title: Re: Using MC to turn on DLNA receiver
Post by: bob on October 25, 2012, 09:50:41 am
Jim,

Can you confirm that MC does have the functionality to a) send WOL packets to wake up remote UPnP ContentDirectory server(s), and b) send WOL packets to wake up remote UPnP Renderers? If so how does one enable it? I must have overlooked it...

It doesn't send WOL's to either uPNP servers or Renderers.
Only Gizmo does that.
I was thinking it'd be nice to add that functionality.
ThomasB has a Marantz receiver that this MAY help with.
It goes into some sort of sleep mode, there is no guarantee that a WOL packet would wake it up but it might.
I didn't see anything in particular for DLNA devices for waking from a sleep that wasn't WOL.
We'd have to gather the MAC address of the renderer and store it along with the rest of the renderer info and perhaps just send it before any command if it hasn't been used in some amount of time I think...
Title: Re: Using MC to turn on DLNA receiver
Post by: sskings on October 30, 2012, 10:05:57 am
There are also some issues with Denon in this regard.  About 9 months ago this worked perfectly....  However, somewhere in firmware updates and MC updates the function no longer works well.  In most instances, the connectivity to the Denon will fail completely if it goes into sleep mode.   I've resorted to leaving it on full time.  Not perfect, but workable.
Title: Re: Using MC to turn on DLNA receiver
Post by: bob on October 30, 2012, 11:33:41 am
There are also some issues with Denon in this regard.  About 9 months ago this worked perfectly....  However, somewhere in firmware updates and MC updates the function no longer works well.  In most instances, the connectivity to the Denon will fail completely if it goes into sleep mode.   I've resorted to leaving it on full time.  Not perfect, but workable.
Could you try letting the Denon sleep and then wake it using a wake-on-lan utility to see if that works? Here is one I googled that seems to work with PC's but I've got no renderers that sleep to test it on. http://www.nirsoft.net/utils/wake_on_lan.html (http://www.nirsoft.net/utils/wake_on_lan.html)

If that does the trick we'll look into adding that functionality.
Title: Re: Using MC to turn on DLNA receiver
Post by: sskings on October 31, 2012, 10:35:34 am
bob,  thanks for the tip.  When the Denon is in standby mode, this program shows it as "On".  Steve
Title: Re: Using MC to turn on DLNA receiver
Post by: bob on November 01, 2012, 09:54:21 am
bob,  thanks for the tip.  When the Denon is in standby mode, this program shows it as "On".  Steve
Interesting,
Even if it shows as standby mode when you scan it, if you then send it a wake anyway (with the leftmost button on the toolbar), does it come out of standby mode?
Title: Re: Using MC to turn on DLNA receiver
Post by: sskings on November 01, 2012, 07:13:45 pm
bob,  it does not.  Steve
Title: Re: Using MC to turn on DLNA receiver
Post by: JimH on November 01, 2012, 07:35:32 pm
Which Denon do you have?
Title: Re: Using MC to turn on DLNA receiver
Post by: sskings on November 02, 2012, 08:45:25 am
AVR-2112
Title: Re: Using MC to turn on DLNA receiver
Post by: bob on November 02, 2012, 10:58:29 am
bob,  it does not.  Steve
Boo hiss...
So if it sleeps, and it's still in the MC playing now list and you TRY to play something (which will presumably error out then remove the renderer from the playing now list), does it come out of sleep mode then??
Title: Re: Using MC to turn on DLNA receiver
Post by: sskings on November 05, 2012, 06:29:49 pm
yes.  It comes out of sleep mode, but does not play.  At this point, if you do anything in MC (change volume, send to,....) MC locks up.  The Denon has to be power cycled to get it to function right again.  The only solution I've found is leaving it on full time.

One note:  I've been associating the AVR-2112 to the Denon DLNA server in MC options.
Question:  how is this different from the Generic DLNA server?
Title: Re: Using MC to turn on DLNA receiver
Post by: AndrewFG on November 06, 2012, 05:08:53 am
yes.  It comes out of sleep mode, but does not play.  At this point, if you do anything in MC (change volume, send to,....) MC locks up.  The Denon has to be power cycled to get it to function right again.  The only solution I've found is leaving it on full time.

It would be very interesting to find out whether this player supports the UPnP standardized LowPowerDevice::WakeUp() action http://upnp.org/specs/lp/lp1/ -- if it does, then it would indicate that device manufacturers are starting to pick up this technology, and that probably MC should think about implementing it too.




Title: Re: Using MC to turn on DLNA receiver
Post by: sskings on November 06, 2012, 08:58:12 am
It would be very interesting to find out whether this player supports the UPnP standardized LowPowerDevice::WakeUp() action http://upnp.org/specs/lp/lp1/ -- if it does, then it would indicate that device manufacturers are starting to pick up this technology, and that probably MC should think about implementing it too.

How do I determine if it does?
Title: Re: Using MC to turn on DLNA receiver
Post by: AndrewFG on November 06, 2012, 09:14:16 am
How do I determine if it does?

You would need to download & install the "Developer Tools for UPnP Technologies" ( http://opentools.homeip.net/dev-tools-for-upnp ) and run the "Device Spy" application.

Title: Re: Using MC to turn on DLNA receiver
Post by: bob on November 06, 2012, 12:36:46 pm
yes.  It comes out of sleep mode, but does not play.  At this point, if you do anything in MC (change volume, send to,....) MC locks up.  The Denon has to be power cycled to get it to function right again.  The only solution I've found is leaving it on full time.

One note:  I've been associating the AVR-2112 to the Denon DLNA server in MC options.
Question:  how is this different from the Generic DLNA server?
That preset is uPNP only (for older devices). You might try the generic DLNA one and if it works you could turn on the supply bitrate option in advanced.
If the Denon's only rendering device you have, delete the extra profile after you are sure everything is working OK.
Title: Re: Using MC to turn on DLNA receiver
Post by: bob on November 06, 2012, 12:38:02 pm
It would be very interesting to find out whether this player supports the UPnP standardized LowPowerDevice::WakeUp() action http://upnp.org/specs/lp/lp1/ -- if it does, then it would indicate that device manufacturers are starting to pick up this technology, and that probably MC should think about implementing it too.

Andrew, that sounds excellent. Have you seen any device support for it yet?
Title: Re: Using MC to turn on DLNA receiver
Post by: sskings on November 06, 2012, 12:59:11 pm
That preset is uPNP only (for older devices). You might try the generic DLNA one and if it works you could turn on the supply bitrate option in advanced.
If the Denon's only rendering device you have, delete the extra profile after you are sure everything is working OK.


OK. I gave this a try.  I now have the Generic DLNA server only and am using it for the Denon and a WDTVLive.  Good news is that it's no worse, bad news is that it's no better.....  Same actions lead to same results.   I'll give the Developer Tools idea a try later.   Thanks for the discussion.  Steve
Title: Re: Using MC to turn on DLNA receiver
Post by: bob on November 06, 2012, 01:15:11 pm
Don't turn on the supply bitrate option if you have a WD, it's broken in the WD firmware.
Title: Re: Using MC to turn on DLNA receiver
Post by: AndrewFG on November 06, 2012, 03:15:49 pm
Have you seen any device support for it yet?

No. But to be honest, I never actually looked before...  :-)
Title: Re: Using MC to turn on DLNA receiver
Post by: sskings on November 06, 2012, 07:29:37 pm
here's what I see.    Let me know if this helps.
Title: Re: Using MC to turn on DLNA receiver
Post by: AndrewFG on November 07, 2012, 07:43:03 am
here's what I see.    Let me know if this helps.

Perfect!

It shows, unfortunately, that the Denon does not support LowPowerDevice::WakeUp(). So in other words, there is no mechanism, other than the previously mentioned WOL (that apparently does not work), whereby MC might potentially wake up the Denon by remote control.

Apart from this, what I find quite interesting is the Denon proprietary X_WholeHomeAudio service and its respective actions concerning joining and leaving parties. So I am intrigued: does the Denon ship with any kind of Control Point (widget, app or software) that supports actions related to parties?