Any reason you can't just use the "pcp" command (which I just stumbled
across). Seems safer than loading their internal files.
Code:
--------------------
==kitchen(tc)>> pcp help
=========================================================================================
Basic piCorePlayer CLI
-----------------------------------------------------------------------------------------
Squeezelite/LMS
---------------
- pcp play : play current track in playlist
- pcp stop : stop current track
- pcp pause : pause current track
- pcp up : volume up
- pcp down : volume down
- pcp next : next track
- pcp prev : previous track
- pcp rand : generate random playlist
- pcp power [on|off] : software power on or off
- pcp volume [0-100] : set volume between 0 to 100
- pcp rescan : look for new and changed media files in connected LMS
library
- pcp wipecache : clear connected LMS library and rescan
- pcp mode : display Squeezelite's current mode
-----------------------------------------------------------------------------------------
piCore
------
- pcp bu : (b)ack(u)p
- pcp sd : (s)hut(d)own
- pcp bs : (b)ackup then (s)hutdown
- pcp rb : (r)e(b)oot
- pcp br : (b)ackup then (r)eboot
-----------------------------------------------------------------------------------------
piCorePlayer
------------
- pcp d0 : debug off
- pcp d1 : debug on
-----------------------------------------------------------------------------------------
Jivelite
--------
- pcp kj : (k)ill (j)ivelite
-----------------------------------------------------------------------------------------
--------------------
------------------------------------------------------------------------
pgf's Profile: http://forums.slimdevices.com/member.php?userid=58510
View this thread: http://forums.slimdevices.com/showthread.php?t=113661
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix