19.08.2017, 20:21
(This post was last modified: 19.08.2017, 20:59 by ivanposada.)
(19.08.2017, 12:54)Erwin van der Zwart Wrote: Hi,
Can you try to execute the commands with credentials in the url?
http://admin:admin@127.0.0.1/...
BR,
Erwin
Verzonden vanaf mijn iPhone met Tapatalk
Yes, i tried also with credentials, and the same result...
Code:
socket.http.request('http://admin:admin@127.0.0.1/apps/data/sonos/sonos.lp?action=loaduri&uuid=RINCON_000E58C103D601400&&listtype=favorites&listnumber=3&autoplay=true')
And for access mp3 file into the homelynk... it doesn't work
Code:
audiofile = socket.url.escape('http://admin:admin@127.0.0.1/Musica/track1.mp3')
socket.http.request('http://admin:admin@127.0.0.1/apps/data/sonos/sonos.lp?action=say&uuid=RINCON_000E58C103D601400&audiofile=' .. audiofile .. '&volume=30&duration=20')
Can you try this commands on your homelynk?
My firmware 2.0.1, and Sonos APP version 20170809.
Thanks,
Iván.
(19.08.2017, 14:13)admin Wrote: If you want Sonos to load tracks from LM, you have to upload to user folder using apps ftp account. The same folder is reachable from HTTP without user/password (only .lp files have authentication checks).
Hi,
i don't understand it well. Can you explain it step by step? I have a Homelynk.
I create a folder named "musica" in the FTP:
Code:
ftp://ftp:ftp@192.168.0.91/musica
and i load a track "track1.mp3" on it.
Thanks!!