18.08.2017, 06:33
(This post was last modified: 18.08.2017, 06:43 by Erwin van der Zwart.)
Hi,
We are currently checking if and why the delay is there. If needed we will fix this.
When playing a local file you also need to pass the metadata, this is a soap envelope with all the data for playingtime, albumart etcetera. If you add a song with the Sonos it is generated automaticly but when you control your Sonos through UpnP (like the API does) you need to pass it manualy. Because it's not a easy task to create the metadata by hand we have decided to not implement this throug the API. So basicly there is no way to solve this. This is only when you use say and sayall function.
What you can do is create a playlist and call the playlist with the API, this way the metadata is already generated by the Sonos system and loaded by the App.
To load a list you can use a command like this: http://127.0.0.1/apps/data/sonos/sonos.l...oplay=true
You can't store files in a Sonos device but you can load them from a network share. Add this share to the Sonos by the Official Sonos App and create a playlist for it.
With the API you can load it from LM.
Sample of a metadata envelope to show you how complex it is to create manually:
BR,
Erwin
We are currently checking if and why the delay is there. If needed we will fix this.
When playing a local file you also need to pass the metadata, this is a soap envelope with all the data for playingtime, albumart etcetera. If you add a song with the Sonos it is generated automaticly but when you control your Sonos through UpnP (like the API does) you need to pass it manualy. Because it's not a easy task to create the metadata by hand we have decided to not implement this throug the API. So basicly there is no way to solve this. This is only when you use say and sayall function.
What you can do is create a playlist and call the playlist with the API, this way the metadata is already generated by the Sonos system and loaded by the App.
To load a list you can use a command like this: http://127.0.0.1/apps/data/sonos/sonos.l...oplay=true
You can't store files in a Sonos device but you can load them from a network share. Add this share to the Sonos by the Official Sonos App and create a playlist for it.
With the API you can load it from LM.
Sample of a metadata envelope to show you how complex it is to create manually:
BR,
Erwin