karlek wrote: 
> Assuming the playlist is "SWR3":
> From within a (Linux) terminal
> > 
Code:
--------------------
  >   > curl -G  'http://ip.of.your.lms:9000/plugins/LMSannounce/js.html' 
--data-urlencode "cmd=announcePlaylist"  --data-urlencode 
"playerid=ma:ca:dd:re:ss:xx" --data-urlencode "playlist=SWR3"
--------------------
> > 
> 
> From within an internet browser – you'll have to URL encode (the
> colons : -> %3A) by yourself::
> > 
Code:
--------------------
  >   > 
http://ip.of.your.lms:9000/plugins/LMSannounce/js.html?cmd=announcePlaylist&playerid=ma%3Aca%3Add%3Are%3Ass%3Axx&playlist=SWR3
--------------------
> > 
> 
> You'll have to replace "ip.of.your.lms" by the IP of your LMS and
> eventually change the port 9000 to that one your LMS listens to.

Not working (yet)

i've created a playlist named SWR3, have this mac address:
14:18:77:66:28:84 which would be 14%3A18%3A77%3A66%3A28%3A84 and the
curl string:

curl -G  'http://ip:9000/plugins/LMSannounce/js.html' --data-urlencode
"cmd=announcePlaylist"  --data-urlencode
"playerid=14%3A18%3A77%3A66%3A28%3A84" --data-urlencode "playlist=SWR3"

gives back: {"msg":"OK","error":false}

but the current stream doesn't change. I must say, that LMS is running
as a docker container. But it is running in host mode, so the mac
address of the host is used.


------------------------------------------------------------------------
mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=109096

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to