for guide on installing on rb pi
http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-installing-squeezelite-player-on-raspbian/


this I use on my htpc, I don't know if it work in pi


Code:
--------------------
    #!/bin/bash
  ### BEGIN INIT INFO
  # Provides:          squeezed
  # Required-Start:    $all
  # Required-Stop:
  # Default-Start:     2 3 4 5
  # Default-Stop:
  # Short-Description: squeezed deamon for squeezelite
  ### END INIT INFO
  # Start the service squeezed
  start() {
  /bin/echo -n "Starting squeezelite: "
  /usr/bin/squeezelite -o pulse -s [lsm ip] -n htpc -M SqueezeLite-htpc &
  ### Create the lock file ###
  #        touch /var/lock/subsys/squeezed
  #        success $"squeezelite deamon  startup"
  echo
  }
  
  # Restart the service squeezed
  stop() {
  /bin/echo -n "Stopping squeezelite: "
  pkill squeezelite
  ### Now, delete the lock file ###
  #        rm -f /var/lock/subsys/squeezed
  echo
  }
  
  ### main logic ###
  case "$1" in
  start)
  start
  ;;
  stop)
  stop
  ;;
  status)
  status squeeselite
  ;;
  restart|reload|condrestart)
  stop
  start
  ;;
  *)
  echo $"Usage: $0 {start|stop|restart|reload|status}"
  exit 1
  esac
  
  exit 0
  
  
--------------------



SB Radio x2, SB Duet, Squeezelite
------------------------------------------------------------------------
teebee's Profile: http://forums.slimdevices.com/member.php?userid=70091
View this thread: http://forums.slimdevices.com/showthread.php?t=112366

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

Reply via email to