question for JSON RPC

mamema <mamema.a73drb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
I'm trying to play a song and didn't get it to work, i'm not used to the
syntax yet

If i launch a status request with:

curl -H -X POST -d
'{"id":1,"method":"slim.request","params":["bb:bb:5a:21:df:c6",["status","-",1,"tags:al"]]}'
http://192.168.0.30:9000/jsonrpc.js

i get this back:

{"method":"slim.request","result":{"remoteMeta":{"id":"-94184742214848","title":"DRadio
Nachrichten","artist":"Nachrichten -
Deutschlandfunk"},"player_connected":1,"remote":1,"player_ip":"192.168.0.30:41194","rate":1,"playlist_cur_index":"0","digital_volume_control":1,"mixer
volume":100,"playlist_tracks":1,"playlist_timestamp":1630154148.62517,"signalstrength":0,"duration":610.3445,"playlist
shuffle":0,"current_title":"Nachrichten vom 28.08.2021, 14:00 Uhr von
Deutschlandfunk aus Deutschlandfunk","power":1,"seq_no":0,"playlist
mode":"off","playlist repeat":0,"player_name":"Marantz
NA8005","mode":"play","time":6.92870306968689,"can_seek":1,"playlist_loop":[{"title":"DRadio
Nachrichten","artist":"Nachrichten -
Deutschlandfunk","id":"-94184742214848","playlist
index":0}]},"params":["bb:bb:5a:21:df:c6",["status","-",1,"tags:al"]],"id":1}%


if i now want to play this again, 

i was trying:

curl -H -X POST -d
'{"id":1,"method":"slim.request","params":["bb:bb:5a:21:df:c6",["playlistcontrol",
"cmd:load", "playlist_id:-94184742214848"]]}'
http://192.168.0.30:9000/jsonrpc.js

but this doesn't work.

Any obivious errors in my curl string?


------------------------------------------------------------------------
mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=115043
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.