ralphy wrote: 
> pCP uses and includes 'JSON.awk' (https://github.com/step-/JSON.awk) to
> parse json output.

Haha - while I was browsing through the pCP source code to find an
example of JSON.awk in use, I found 'pcp_lms_power' (and all the other
defined functions).  All the hard work has been done by the pCP team!

All I have to do is set NAME to be the LMS player name, then call
'psp_lms_power 1' or 'pcp_lms_power 0' to turn the player on or off. 
Fantastic.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to