I have been playing with this, this morning

I think that changing the name at SL_NAME is not the correct way. I
tried it and had problems with restarting squeezelite

I googled the argument and got a man page I did not understand
:confused:, but think this line is referenced to the name of the actual
device (eg raspberry) and it is the device name that should be changed
(eg in raspi-config).

I added this line to SB_EXTRA_ARGS (note, no gaps) and everything is
fine


Code:
--------------------
     The name for the squeezelite player:
  SL_NAME="$(hostname -s)"
  
  # Defaults for squeezelite initscript
  # sourced by /etc/init.d/squeezelite
  # installed at /etc/default/squeezelite by the maintainer scripts
  
  # The name for the squeezelite player:
  SL_NAME="$(hostname -s)"
  
  # ALSA output device:
  SL_SOUNDCARD="default:CARD=Headphones"
  
  # Squeezebox server (Logitech Media Server):
  # Uncomment the next line if you want to point squeezelite at the IP address 
of
  # your squeezebox server. This is usually unnecessary as the server is
  # automatically discovered.
  #SB_SERVER_IP="192.168.x.y"
  
  # Additional options to pass to squeezelite:
  # Please do not include -z to make squeezelite daemonise itself.
  SB_EXTRA_ARGS="-a :::0 -n The_Player -r 44100"
  
--------------------


34997


I could, of course, be completely wrong (not the first time :):p)

Just a thought, really :)

ronnie


+-------------------------------------------------------------------+
|Filename: the_player.png                                           |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34997|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=114712

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

Reply via email to