Reeshar wrote: 
> 
> 
> To connect to a Squeezebox server on a different subnet I need to
> nominate the server explicitly.
> 
> However, if I set a server IP using the picoreplayer setup command (and
> save the settings) the server name doesn't appear in the command shown
> by ps:
> 
> /MNT/MMCBLK0P2/TCE/SQUEEZELITE-ARMV6HF -O SYSDEFAULT:CARD=ALSA -N
> PICOREHIFIBERRY -A 200 4
> 
> and SqueezeLite can't connect to the server.
> 
> Richard

OK, I've spotted the bug in the following file:

/usr/local/etc/init.d/squeezelite_initd

Code:
--------------------
    
  case "$1" in
  start)
  echo "Starting Squeezelite"
  start-stop-daemon --start --quiet -b -m -p/var/run/squeezelitehf.pid --exec 
/mnt/mmcblk0p2/tce/squeezelite-armv6hf -- $OUTPUT $N
  AME $ALSA_PARAMS $MAC_ADDRESS $MAX_RATE $BUFFER_SIZE $CODEC *$SERVER* 
$PRIORITY $LOGLEVEL $LOGFILE
--------------------


The parameter used to invoke the server in the SqueezeLite command
(SERVER) isn't the same as the parameter that has been set in the
config.cfg file (SERVER_IP), so it's not being picked up:

config.cfg

Code:
--------------------
    NAME="-n piCoreHiFiBerry"
  OUTPUT="-o sysdefault:CARD=ALSA"
  ALSA_PARAMS="-a 200:4"
  BUFFER_SIZE=
  CODEC=
  PRIORITY=
  MAX_RATE=
  UPSAMPLE=
  MAC_ADDRESS=
  SERVER_IP=\"-S 192.168.X.XXX\"
  LOGLEVEL=
  LOGFILE=
  
--------------------

Fairly easy to fix, hopefully?


Richard


------------------------------------------------------------------------
Reeshar's Profile: http://forums.slimdevices.com/member.php?userid=35996
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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

Reply via email to