mherger wrote:
> >
> status.html?p0=playlist&p1=play&p2=myfile.mp3&player=aa:bb:cc:dd:ee&start=0
>
> I'd strongly suggest you try to use the CLI commands over JSON/RPC
> (http://htmlpreview.github.io/?https://raw.githubusercontent.com/Logitech/slimserver/public/7.9/HTML/EN/html/docs/cli-api.html).
>
> That status page handler is a bit of an old school hack and hasn't been
> updated in years. It might work or not.
>
> > *for volume I did some tests but without success*:
>
> Basically the p0-pX parameters correspond to what you'd send to the CLI.
>
> Try p0=mixer&p1=volume&p2=30 instead. "It's "mixer volume 20". You can't
>
> just add random keywords to that URL.
>
> --
>
> Michael
Thanks Michael! But I am generating some crontab jobs with python which
calls the URL with curl. I have to use that python code and that looks
like here:
Code:
--------------------
13 3 * * * curl --data
"p0=playlist&p1=play&p2=myfile.mp3&player=aa:bb:cc:dd:ee"
192.168.10.199:9000/status.html
50 6 * * * curl --data
"p0=playlist&p1=play&p2=myfile.mp3&player=aa:bb:cc:dd:ee"
192.168.10.199:9000/status.html
45 9 * * * curl --data
"p0=playlist&p1=play&p2=myfile.mp3&player=aa:bb:cc:dd:ee"
192.168.10.199:9000/status.html
--------------------
------------------------------------------------------------------------
karadayi's Profile: http://forums.slimdevices.com/member.php?userid=69137
View this thread: http://forums.slimdevices.com/showthread.php?t=110545
_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive