Tag: CLI

piCorePlayer aliases

pCP Team 24 July 2020 pCP 5.0.0

To speed up some common Linux command line tasks we have defined a few aliases. Alias Description ce Change directory to /mnt/mmcblk0p2/tce ceo Change directory to /mnt/mmcblk0p2/tce/optional m1 Mount the boot partition /mnt/mmcblk0p1 m2 Mount the second partition /mnt/mmcblk0p2 c1 Change directory to /mnt/mmcblk0p1 c2 Change directory to /mnt/mmcblk0p2 vicfg Edit configuration file config.

piCorePlayer Command Line Interface (CLI)

pCP Team 23 July 2020 pCP 5.0.0

We have implemented a basic piCorePlayer Command Line Interface (CLI). These commands access some Squeezelite, LMS, piCore or piCorePlayer functions and can be used directly on the command line or used in scripts to enhance your system. Basic piCorePlayer CLI #$ 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 track 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 ----------------------------------------------------------------------------------------- Example #tc@piCorePlayer:~$ pcp bu [ INFO ] Backing up files to /mnt/mmcblk0p2/tce/mydata.

The Software is provided "as is" without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement.
Raspberry Pi is a trademark of the Raspberry Pi Foundation.