Sorry, das sind aber nicht die Inhalte der Dateien, die sollten
eigentlich so oder ähnlich aussehen:

ASOUND.CONF

Code:
--------------------
    pcm.dmixer {
  type dmix
  ipc_key 1024
  ipc_key_add_uid false
  ipc_perm 0666
  slave {
  pcm "hw:1,0"
  period_time 0
  period_size 1024
  buffer_size 8192
  #       rate 44100
  }
  }
  
  pcm.!default {
  type plug
  slave.pcm "dmixer"
  }
  
  pcm.plugdmixer {
  type plug
  slave.pcm "dmixer"
  }
  
  ctl.!default {
  type hw
  card 1
  }
  ctl.equal {
  type equal;
  }
  
  pcm.plugequal {
  type equal;
  slave.pcm "plugdmixer"
  }
  
  pcm.equal {
  type plug;
  slave.pcm plugequal;
  }
  
--------------------


SQUEEZELITE

Code:
--------------------
    #!/bin/sh
  ### BEGIN INIT INFO
  # Provides:          squeezelite
  # Required-Start:    $syslog
  # Required-Stop:     $syslog
  # Default-Start:     2 3 4 5
  # Default-Stop:      0 1 6
  # Short-Description: Script to start squeezelite
  # Description:       Service script for squeezelite, command line squeezebox 
player
  ### END INIT INFO
  #Define some variables.  LMS is the IP of your Logitech Media Server.  Output 
device can be found by running squeezelite -l
  
  USER=$(grep -a "SYSTEM_USER" /opt/max2play/audioplayer.conf | sed -n -e 
's/^[A-Z_]*\=//p')
  if [ "$USER" = "" ]; then
  USER=odroid
  fi 
  
  NAME=$(cat /opt/max2play/playername.txt)
  NAME="TEAC"
  SQUEEZELITE_PARAMETER=$(grep -a "SQUEEZELITE_PARAMETER" 
/opt/max2play/audioplayer.conf | sed -n -e 's/^[A-Z_]*\=//p')
  SQUEEZELITE_PARAMETER="-o hw:CARD=UD501,DEV=0 -a 240:::1 -b 80000:320000 -p 
90"
  
  case "$1" in
  start)
  echo "Starting Squeezelite"
  echo "Check auf laufenden XBMC - Pulseaudio VS Alsa bringt Probleme"
  xbmcrunning=$(ps -Al | grep xbmc | wc -l)
  useusbdac=$(grep -a USE_USB_DAC=1 /opt/max2play/audioplayer.conf | wc -l)
  if [ "1" -gt "$xbmcrunning" -o "0" -lt "$useusbdac" ]
  then
  /sbin/start-stop-daemon --start --quiet -b -m -p 
/opt/squeezelite/log/squeezelite.pid --chuid $USER --exec 
/opt/squeezelite/squeezelite -- -n $NAME $LMS $SQUEEZELITE_PARAMETER
                echo "Erfolgreich gestartet"
  fi
  ;;
  stop)
  echo "Stopping Squeezelite"
  /sbin/start-stop-daemon --stop --quiet --pidfile 
/opt/squeezelite/log/squeezelite.pid
  rm -f /opt/squeezelite/log/squeezelite.pid
  ;;
  *)
  echo "Usage: /etc/init.d/squeezelite {start|stop}"
  exit 1
  ;;
  esac
  exit 0
--------------------



1x odroid u3 with max2play as lms + 'teac ud-501'
(http://www.teac.com/product/ud-501/) usb-dac + 'akg k701'
(http://eu.akg.com/akg-product-detail_eu/k-701.html) headphones | 2x
squeezebox classic | 1x raspberry pi with 'hifimediy es9023 dac'
(http://hifimediy.com/dacs/diy-dacs/i2s-dac) +picoreplayer | 2x ipod
with ipeng classic + playback | 1x ipad with ipeng 7 + playback | 1x htc
one with orange squeeze + squeeze player
------------------------------------------------------------------------
tfec's Profile: http://forums.slimdevices.com/member.php?userid=2057
View this thread: http://forums.slimdevices.com/showthread.php?t=101321

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

Antwort per Email an