hi i would like to play a mp3 from ftp, i use that :
audiofile = socket.url.escape('ftp://apps:sonos123@192.168.1.50/user/Meditation-bell-sound.mp3')
socket.http.request('http://admin:sonos123@192.168.1.50/apps/data/sonos/sonos.lp?action=say&ip=192.168.1.6&audiofile=user/Meditation-bell-sound.mp3&volume=30&duration=20')
log(reply)
192.168.1.50 ip homelynk
192.168.1.6 ip sonos
but did not work....
can you help me
Thank you in advance
audiofile = socket.url.escape('ftp://apps:sonos123@192.168.1.50/user/Meditation-bell-sound.mp3')
socket.http.request('http://admin:sonos123@192.168.1.50/apps/data/sonos/sonos.lp?action=say&ip=192.168.1.6&audiofile=user/Meditation-bell-sound.mp3&volume=30&duration=20')
log(reply)
192.168.1.50 ip homelynk
192.168.1.6 ip sonos
but did not work....
can you help me
Thank you in advance