Logic Machine Forum
UPNP for MusicCast - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: UPNP for MusicCast (/showthread.php?tid=973)



UPNP for MusicCast - hfebraud - 31.08.2017

Hi everybody,

I'm looking for a script wich can control and get info from MusicCast.

Is there anybody who ever did that ?

Thanks for your answers


RE: UPNP for MusicCast - admin - 04.09.2017

This Sonos example has generic UPnP control function, though MediaRenderer URI can be different:
http://openrb.com/sonos-control-from-logic-machine/


RE: UPNP for MusicCast - hfebraud - 04.09.2017

It doesn't works, I have this result :

HTTP/1.1 500 Internal Server Error
CONTENT-LENGTH: 424
CONTENT-TYPE: text/xml; charset="utf-8"
EXT:
SERVER: LINUX UPnP/1.0 Altec/111463

<s:Envelope
xmlnsConfused="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urnConfusedchemas-upnp-org:control-1-0"><errorCode>401</errorCode><errorDescription>No action by that name at this service</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>


RE: UPNP for MusicCast - admin - 04.09.2017

What kind of request are you trying to send?


RE: UPNP for MusicCast - hfebraud - 06.09.2017

Ok, I just found a solution.

the path of the POST in the UPNP command is different according to the device (Heos, Sonos, Yamaha)

And the MusicCast WX-010 doesn't works in UPNP except
- For the RenderingControl and Play,
- When you are streaming a music from a server and not from other source media

The other commands are available but in HTTP request.

And Yamaha doesn't support for UPNP,
Well, that's all.