OK .. after attempting anything from the top list of the PCP CLI command:
I get the following result:
Looks like the command line for wget isn't being built correctly. Anyone care to enlighten me on how to fix it? Is there documentation on the json API so I can just built it myself directly from python and bypass the broken stuff?
Code:
=========================================================================================
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
-----------------------------------------------------------------------------------------
Code:
tc@Evans-Bangbox:~$ pcp mode
sh: 192.168.1.114: unknown operand
wget: server returned error: HTTP/1.1 501 Not Implemented
tc@Evans-Bangbox:~$ pcp up
sh: 192.168.1.114: unknown operand
wget: server returned error: HTTP/1.1 501 Not Implemented