Reputation: 2427
I was going through the documentation and was looking for the API's which i can call from a console application to play/pause or stop music. I am assuming Sonos is like Philips Hue which requires the devices to be in the same local network.
Any help would be appreciated. Thanks
Upvotes: 0
Views: 586
Reputation: 319
See the UPnP specification for AVTransport, and use the Play/Pause APIs on the coordinating Player. And yes, for UPnP you need to be on the same network as the players.
Upvotes: 0
Reputation: 426
There is currently no supported way to do this, but it is something that we are working creating an API to do.
People have created libraries for this type of integration that can be found with a quick Google search, but none of these are supported by Sonos and there is no guarantee of future compatibility.
Upvotes: 1