Thanks Michael,
I had to look into the /usr/share/squeezeboxserver/IR/Default.map file
indeed.
The command to pause is
curl -X POST -d
'{"id":0,"params":["68:5d:43:ea:28:60",["button","pause.single"]],"method":"slim.request"}'
http://localhost:9000/jsonrpc.js
the same will resume play.
I'll then configure my keyboard accordingly.
Thanks to you all, that's great, exactly what I was looking for !
LMS 7.9.x
on Linux Mageia 6 and RPI 3
1 SB3, 2 radio, 1 touch, 1 transporter SE, 1 chromecast audio
Plugins : Trackstat, Smartmix, MusicIP, ...
------------------------------------------------------------------------
Antoniop's Profile: http://forums.slimdevices.com/member.php?userid=39292
View this thread: http://forums.slimdevices.com/showthread.php?t=108863
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter