paladin5000 wrote: 
> Hi,
> I have just installed picoreplayer on a raspberry pi 1 with the chinese
> suptronics x400 as a i2s dac and amplifier and it works great out of the
> box. In the past I used the same hardware with mpd and I could control
> playing and stopping music, loading playlists and changing the volume
> with hardware buttons on the GPIO easily by using mpc commands in a
> python script.
> 
> Are there similar commands for the squeezelite player to load a
> playlist, list the music database of the lms and
> play/stop/changevolume?
> 
> Thank You,
> Andreas

Hi Andreas,

Thanks for giving piCorePlayer a go.

I think most people use a mobile device using an app like iPeng or
similar to control squeezelite/LMS. Since the release of the official
RPi touch screen there are quite a few people using jivelite. I
personally use the "simple controls" tabs on piCorePlayer web interface
in [Advanced] mode. There is also the LMS web interface. There are also
a couple of IR interfaces currently being developed.

Having said that, there is a "basic" pCP CLI available. Just type "pcp"
at the command prompt. At the moment, there are only the commands we use
within pCP and a couple of requested commands.


Code:
--------------------
    $ pcp
  
=========================================================================================
  Basic piCorePlayer CLI
  
-----------------------------------------------------------------------------------------
  Squeezelite/LMS
  ---------------
  - pcp play           : play current track in playlist
  - pcp stop           : stop
  - pcp up             : volume up
  - pcp down           : volume down
  - pcp next           : next track
  - pcp prev           : previous track
  - pcp rand           : random track
  - pcp power [on|off] : 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 everything
  
-----------------------------------------------------------------------------------------
  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
  
-----------------------------------------------------------------------------------------
  
--------------------


Note: These commands are subject to change.

regards
Greg


------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=105018

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

Reply via email to