Hello
From a few days I knowing Sonos controll API form
https://developer.sonos.com/reference/control-api/
Actualy I did it auth process as well, and now I just to try play mp3 file form HD using Sonos API. Unfortunately i can't find simply way to play any mp3 file using API.
Could someone show me simply way to do it ? Only what I'm found this is play from url
https://developer.sonos.com/reference/control-api/playbacksession/loadstreamurl/
But this means, each file first should be must upload to service and next play. I'm wondering how it is working on my Sonos application in Android. There I can just choice file from my phone and play. I would like this same results. It is possible using this API ?
Answered
Controll API. How play music from mp3 file
Best answer by controlav
Sonos players cannot magically read your HD to play your mp3, so you will need to expose the file via https, either by copying it to the cloud or running a simple http server on your PC. The latter is how the Android app exposes music from your phone to the Sonos players.
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
