2015-03-06, 15:04
Hi there!
I am setting up some home automation with Eventghost and need a little help!
I would like to use a JSON command to start a specific playlist in shuffle mode.
I am guessing it would be something like this...
http://xxx.xxx.xxx.xxx/jsonrpc?request={"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"file":"playlistname.m3u"},"options":{"shuffled":"true"}}}
...but this doesn't quite work!
Does anyone know...
a) How I open a playlist directly using Player.Open?
b) How I set the options to shuffle the tracks?
Thanks in advance for your help!
Cheers,
Dan
I am setting up some home automation with Eventghost and need a little help!
I would like to use a JSON command to start a specific playlist in shuffle mode.
I am guessing it would be something like this...
http://xxx.xxx.xxx.xxx/jsonrpc?request={"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"file":"playlistname.m3u"},"options":{"shuffled":"true"}}}
...but this doesn't quite work!
Does anyone know...
a) How I open a playlist directly using Player.Open?
b) How I set the options to shuffle the tracks?
Thanks in advance for your help!
Cheers,
Dan