This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Sonos old function
#2
(25.01.2020, 21:58)zuuper Wrote: Hi,

I use the old code/function in LM to integrate with Sonos. I need a door-bell-function; stop music, play a door bell .mp3 and then back to music. I have tested with
http://192.168.1.193/user/sonos.lp?action=say&audiofile=192.168.1.193/user/svararinte.mp3&volume=50&duration=1&uuid=RINCON_000G166F5B8001400

192.168.1.193 is LM.

When I run the link, the music stops on the Sonos. I can see "svararinte.mp3" in my sonos-program:

BUT, it never starts. Nothing more hapends. Can anyone help me please? 
If I manually click on "PLAY" in the Sonos program, it plays "svararinte.mp3"..

BR Alexander
Not sure if your audio url is correct. Doesn't it need http:// as a prefix? Like http://192.168.1.193/user/svararinte.mp3
What happens  when you copy paste the url in your webbrowser? Does the audio file play?
Another solution is to check the complete API from the old Sonos script and use playlist or favorite to play this audio file.
Reply


Messages In This Thread
Sonos old function - by zuuper - 25.01.2020, 21:58
RE: Sonos old function - by Joep - 27.01.2020, 07:50
RE: Sonos old function - by zuuper - 01.02.2020, 20:30
RE: Sonos old function - by zuuper - 01.02.2020, 21:56
RE: Sonos old function - by zuuper - 01.02.2020, 22:26
RE: Sonos old function - by zuuper - 02.02.2020, 16:06
RE: Sonos old function - by zuuper - 02.02.2020, 20:39
RE: Sonos old function - by davidchispas - 19.02.2020, 17:28
RE: Sonos old function - by davidchispas - 20.02.2020, 11:46

Forum Jump: