20.08.2017, 20:42
(20.08.2017, 18:28)Erwin van der Zwart Wrote: Hi,
Just tested loadplaylist, loaduri and playuri and all 3 are working, after loadplaylist and loaduri you need to send the play command, playuri starts playing directly.
I noticed you use UUID, i tested with IP, are you sure the auto discovery has run once in the app (conversion from UUID or name to IP is based on auto discovery result table from storage)
BR,
Erwin
Hi Erwin,
I tested with IP instead UUID and is the same...
I send you some attachments that recreates the problems:
LOADPLAYLIST: see loadplaylist.jpg
PLAYURI: when i am listening a radiostation with an empty queue (see Playing radiostation with empty queue.jpg), and then i execute PLAYURI
Code:
http://192.168.0.91/apps/data/sonos/sonos.lp?action=playuri&ip=192.168.0.14&listtype=favorites&listnumber=5
You say that the command playuri starts playing directly, but it don't start. If i send a PLAY command, no action is executed in Sonos, because it is playing radiostation.
LOADURI: After execute this command:
Code:
http://192.168.0.91/apps/data/sonos/sonos.lp?action=loaduri&ip=192.168.0.14&listtype=favorites&listnumber=5
NOTE: Playuri works perfectly when the queue "is in use" before sending the command. Maybe missing a command to put the queue "in use" - "not in use" ??
Thanks,
Iván