bpa wrote: 
> As it is picky, the best way to approach is NOT trial and error but
> finding out the result of each attempt and what is failing .

I appreciate what you're saying, and your help, but I have to work with
what I've got! I'm no techie so seeing where it's failing is beyond me! 
'Trial and error' (after searching for alternatives to try) is all I
know how to do! :)

Here's the output of bash -x /etc/init.d/squeezelite start with
SL_NAME="\"The Player\""


Code:
--------------------
    + PATH=/sbin:/usr/sbin:/bin:/usr/bin
  + DESC='Squeezebox client'
  + NAME=squeezelite
  + DAEMON=/usr/bin/squeezelite
  + PIDFILE=/run/squeezelite.pid
  + SCRIPTNAME=/etc/init.d/squeezelite
  + '[' -x /usr/bin/squeezelite ']'
  + '[' -r /etc/default/squeezelite ']'
  + . /etc/default/squeezelite
  ++ SL_NAME='"The Player"'
  ++ SL_SOUNDCARD=sysdefault:CARD=Headphones
  ++ SB_EXTRA_ARGS='-r 44100 -a :::0'
  + . /lib/init/vars.sh
  ++ TMPTIME=0
  ++ SULOGIN=no
  ++ DELAYLOGIN=no
  ++ UTC=yes
  ++ VERBOSE=no
  ++ FSCKFIX=no
  ++ '[' -f /etc/default/rcS ']'
  ++ unset EDITMOTD
  ++ unset RAMRUN
  ++ unset RAMLOCK
  ++ '[' -r /proc/cmdline ']'
  +++ cat /proc/cmdline
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ for ARG in $(cat /proc/cmdline)
  ++ case $ARG in
  ++ '[' '' ']'
  + . /lib/lsb/init-functions
  +++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
  ++ for hook in $(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 
2>/dev/null)
  ++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']'
  ++ . /lib/lsb/init-functions.d/20-left-info-blocks
  ++ for hook in $(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 
2>/dev/null)
  ++ '[' -r /lib/lsb/init-functions.d/40-systemd ']'
  ++ . /lib/lsb/init-functions.d/40-systemd
  +++ _use_systemctl=0
  +++ '[' -d /run/systemd/system ']'
  +++ '[' -n '' ']'
  +++ '[' squeezelite = init-d-script ']'
  +++ '[' squeezelite = start ']'
  +++ executable=/etc/init.d/squeezelite
  +++ argument=start
  +++ prog=squeezelite
  +++ service=squeezelite.service
  ++++ systemctl -p LoadState --value show squeezelite.service
  +++ state=loaded
  +++ '[' loaded = masked ']'
  +++ '[' 18557 -ne 1 ']'
  +++ '[' -z '' ']'
  +++ case $(readlink -f "$executable") in
  ++++ readlink -f /etc/init.d/squeezelite
  +++ '[' loaded '!=' not-found ']'
  +++ _use_systemctl=1
  ++++ systemctl -p CanReload --value show squeezelite.service
  +++ '[' no = no ']'
  +++ '[' start = reload ']'
  +++ '[' 1 = 1 ']'
  +++ set +e
  +++ set +u
  +++ case "$argument" in
  +++ systemctl_redirect /etc/init.d/squeezelite start
  +++ local s
  +++ local rc
  +++ local prog=squeezelite
  +++ local command=start
  +++ case "$command" in
  +++ s='Starting squeezelite (via systemctl)'
  +++ service=squeezelite.service
  ++++ systemctl is-system-running
  +++ OUT=degraded
  +++ '[' degraded '!=' degraded ']'
  +++ '[' start = status ']'
  +++ log_daemon_msg 'Starting squeezelite (via systemctl)' squeezelite.service
  +++ '[' -z 'Starting squeezelite (via systemctl)' ']'
  +++ log_daemon_msg_pre 'Starting squeezelite (via systemctl)' 
squeezelite.service
  +++ log_use_fancy_output
  +++ TPUT=/usr/bin/tput
  +++ EXPR=/usr/bin/expr
  +++ '[' -t 1 ']'
  +++ '[' xxterm-256color '!=' x ']'
  +++ '[' xxterm-256color '!=' xdumb ']'
  +++ '[' -x /usr/bin/tput ']'
  +++ '[' -x /usr/bin/expr ']'
  +++ /usr/bin/tput hpa 60
  +++ /usr/bin/tput setaf 1
  +++ '[' -z ']'
  +++ FANCYTTY=1
  +++ case "$FANCYTTY" in
  +++ true
  +++ echo -n '[....] '
  [....] +++ '[' -z squeezelite.service ']'
  +++ echo -n 'Starting squeezelite (via systemctl): squeezelite.service'
  Starting squeezelite (via systemctl): squeezelite.service+++ 
log_daemon_msg_post 'Starting squeezelite (via systemctl)' squeezelite.service
  +++ :
  +++ /bin/systemctl --no-pager start squeezelite.service
  +++ rc=0
  +++ '[' start = status ']'
  +++ log_end_msg 0
  +++ '[' -z 0 ']'
  +++ local retval
  +++ retval=0
  +++ log_end_msg_pre 0
  +++ log_use_fancy_output
  +++ TPUT=/usr/bin/tput
  +++ EXPR=/usr/bin/expr
  +++ '[' -t 1 ']'
  +++ '[' xxterm-256color '!=' x ']'
  +++ '[' xxterm-256color '!=' xdumb ']'
  +++ '[' -x /usr/bin/tput ']'
  +++ '[' -x /usr/bin/expr ']'
  +++ /usr/bin/tput hpa 60
  +++ /usr/bin/tput setaf 1
  +++ '[' -z 1 ']'
  +++ true
  +++ case "$FANCYTTY" in
  +++ true
  ++++ /usr/bin/tput setaf 1
  +++ RED=''
  ++++ /usr/bin/tput setaf 2
  +++ GREEN=''
  ++++ /usr/bin/tput setaf 3
  +++ YELLOW=''
  ++++ /usr/bin/tput op
  +++ NORMAL=''
  +++ /usr/bin/tput civis
  +++ /usr/bin/tput sc
  +++ /usr/bin/tput hpa 0
  +++ '[' 0 -eq 0 ']'
  +++ /bin/echo -ne '[ ok '
  [ ok +++ /usr/bin/tput rc
  +++ /usr/bin/tput cnorm
  +++ log_use_fancy_output
  +++ TPUT=/usr/bin/tput
  +++ EXPR=/usr/bin/expr
  +++ '[' -t 1 ']'
  +++ '[' xxterm-256color '!=' x ']'
  +++ '[' xxterm-256color '!=' xdumb ']'
  +++ '[' -x /usr/bin/tput ']'
  +++ '[' -x /usr/bin/expr ']'
  +++ /usr/bin/tput hpa 60
  +++ /usr/bin/tput setaf 1
  +++ '[' -z 1 ']'
  +++ true
  +++ case "$FANCYTTY" in
  +++ true
  ++++ /usr/bin/tput setaf 1
  +++ RED=''
  ++++ /usr/bin/tput setaf 3
  +++ YELLOW=''
  ++++ /usr/bin/tput op
  +++ NORMAL=''
  +++ '[' 0 -eq 0 ']'
  +++ echo .
  .
  +++ log_end_msg_post 0
  +++ :
  +++ return 0
  +++ return 0
  +++ exit 0
  
--------------------


It looks to me like SL_PLAYER *is* being correctly picked up.


------------------------------------------------------------------------
pantomnesia's Profile: http://forums.slimdevices.com/member.php?userid=70846
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