19.08.2017, 12:25
Hi,
I continue with the test of the app to manage correctly lists of favorites, queue, etc..
I find some problems:
The command "loadplaylist" doesn't work.
No action in Sonos. When i execute it in webbroser, it respondes "true".
It doens't load any list in queue (Neither by number nor by name).
The command "playuri" doesn't work when the "queue isn't in use" and you try to listen a list that need the queue.
When you are listening a radio station, the queue is not in use. In this moment, you execute "playuri" with a playlist that require the queue (songs in mp3), and the songs are loaded in queue but it doen't play automaticaly. The queue appears "isn't in use" and you can't do a play or stop of the queue because it affects at the radiostation you are listening.
The command "loaduri" doesn't work.
No action in Sonos. When i execute it in webbroser, it respondes "ListaXXX is loaded", but it doesn`t load anything.
With this problems managing lists and queue, is imposible for me to complete the project.
I need to play songs and radiostations together with knx light scenes.
I think that other posibility is to use the command "say" to launch the songs, ex. loaded in homelynk memory. But this command neither work for me:
Any help with this???
THANKS from Spain.
Iván.
I continue with the test of the app to manage correctly lists of favorites, queue, etc..
I find some problems:
The command "loadplaylist" doesn't work.
Code:
socket.http.request('http://192.168.0.91/apps/data/sonos/sonos.lp?action=loadplaylist&uuid=RINCON_000E58C103D601400&listnumber=4&autoplay=true')
No action in Sonos. When i execute it in webbroser, it respondes "true".
It doens't load any list in queue (Neither by number nor by name).
The command "playuri" doesn't work when the "queue isn't in use" and you try to listen a list that need the queue.
Code:
socket.http.request('http://192.168.0.91/apps/data/sonos/sonos.lp?action=playuri&uuid=RINCON_000E58C103D601400&listtype=favorites&listnumber=3')
When you are listening a radio station, the queue is not in use. In this moment, you execute "playuri" with a playlist that require the queue (songs in mp3), and the songs are loaded in queue but it doen't play automaticaly. The queue appears "isn't in use" and you can't do a play or stop of the queue because it affects at the radiostation you are listening.
The command "loaduri" doesn't work.
Code:
socket.http.request('http://192.168.0.91/apps/data/sonos/sonos.lp?action=loaduri&uuid=RINCON_000E58C103D601400&&listtype=favorites&listnumber=4&autoplay=true')
No action in Sonos. When i execute it in webbroser, it respondes "ListaXXX is loaded", but it doesn`t load anything.
With this problems managing lists and queue, is imposible for me to complete the project.
I need to play songs and radiostations together with knx light scenes.
I think that other posibility is to use the command "say" to launch the songs, ex. loaded in homelynk memory. But this command neither work for me:
Code:
require('socket.http')
require('socket.url')
audiofile = socket.url.escape('http://ftp:ftp@192.168.0.91/Musica/track1.mp3')
socket.http.request('http://192.168.0.91/apps/data/sonos/sonos.lp?action=say&uuid=RINCON_000E58C103D601400&audiofile=' .. audiofile .. '&volume=30&duration=20')
Any help with this???
THANKS from Spain.
Iván.