mamema wrote:
> Not working (yet)
>
> i've created a playlist named SWR3, have this mac address:
> 14:18:77:66:28:84 of the player 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}
>
> huh , this is interesting, it is working, but on the wrong player. This
> mac isn't used by the device, where the playlist is started. Doesn't
> matter which player mac i'm using, i'm always landing on the wrong and
> same player. Why is that?
probably double encoding of the playerid parameter.
as karlek wrote:
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"
--------------------
check the server log
'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI |
Playlist Editor / Generator | Music Classification | Similar Music |
Announce | EventTrigger | DB Optimizer | Image Enhancer | Chiptunes |
LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=109096
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins