JackOfAll wrote:
> Ron,
>
> Any chance of you adding some text/info to
> "/etc/sysconfig/squeezeboxserver" and sending it to me? ;)
I don't know what all the LMS options mean, so I'm not the best person
to comment on them. I think this is something that Michael H. should be
able to do.
/etc/sysconfig/squeezeboxserver on VB 2.3:
Code:
--------------------
##
## NB. You probably don't want to change anything below,
## except SQUEEZEBOX_OPTIONS!
##
SQUEEZEBOX_USER="squeezeboxserver"
SQUEEZEBOX_HOME="/usr/libexec"
SQUEEZEBOX_CFG_DIR="/var/lib/squeezeboxserver/prefs"
SQUEEZEBOX_LOG_DIR="/var/log/squeezeboxserver"
SQUEEZEBOX_CACHE_DIR="/var/lib/squeezeboxserver/cache"
SQUEEZEBOX_CHARSET="utf8"
SQUEEZEBOX_PID_FILE="/var/run/squeezeboxserver/squeezeboxserver.pid"
SQUEEZEBOX_OPTIONS="--localfile"
# SQUEEZEBOX_OPTIONS="--noimage --novideo --noupnp --nosb1slimp3sync
--localfile"
###
### Vortexbox Beta 2.3 CLI & JSON problems
###
http://forums.slimdevices.com/showthread.php?101097-Vortexbox-Beta-2-3-CLI-amp-JSON-problems&p=773583&viewfull=1#post773583
###
PERL_HASH_SEED=0
PERL_PERTURB_KEYS=0
--------------------
In /lib/systemd/system/squeezeboxserver.service:
Code:
--------------------
ExecStart=/usr/libexec/squeezeboxserver\
--pidfile=${SQUEEZEBOX_PID_FILE}\
--cachedir=${SQUEEZEBOX_CACHE_DIR}\
--prefsdir=${SQUEEZEBOX_CFG_DIR}\
--logdir=${SQUEEZEBOX_LOG_DIR}\
--charset=${SQUEEZEBOX_CHARSET}\
${SQUEEZEBOX_OPTIONS}
--------------------
Looking at the LMS Perl source code in /usr/libexec/squeezeboxserver for
the Community Squeeze version of LMS 7.9.0, I see the following:
Code:
--------------------
use constant TRANSCODING => ( grep { /--notranscoding/ } @ARGV ) ? 0 : 1;
use constant PERFMON => ( grep { /--perfwarn/ } @ARGV ) ? 1 : 0;
use constant DEBUGLOG => ( grep { /--no(?:debug|info)log/ } @ARGV ) ? 0 :
1;
use constant INFOLOG => ( grep { /--noinfolog/ } @ARGV ) ? 0 : 1;
use constant STATISTICS => ( grep { /--nostatistics/ } @ARGV ) ? 0 : 1;
use constant SB1SLIMP3SYNC=> ( grep { /--nosb1slimp3sync/ } @ARGV ) ? 0 : 1;
use constant WEBUI => ( grep { /--noweb/ } @ARGV ) ? 0 : 1;
use constant NOUPNP => ( grep { /--noupnp/ } @ARGV ) ? 1 : 0;
use constant IMAGE => ( grep { /--noimage/ } @ARGV ) ? 0 : !NOUPNP;
use constant VIDEO => ( grep { /--novideo/ } @ARGV ) ? 0 : !NOUPNP;
use constant ISWINDOWS => ( $^O =~ /^m?s?win/i ) ? 1 : 0;
use constant ISMAC => ( $^O =~ /darwin/i ) ? 1 : 0;
use constant LOCALFILE => ( grep { /--localfile/ } @ARGV ) ? 1 : 0;
use constant NOBROWSECACHE=> ( grep { /--nobrowsecache/ } @ARGV ) ? 1 : 0;
--------------------
The lines with ARGV are input options that can be specified in
/etc/sysconfig/squeezeboxserver as SQUEEZEBOX_OPTIONS. It would be
helpful to have Michael H. explain what each of these options means.
Looking at the running LMS process on VB 2.3:
Code:
--------------------
/usr/bin/perl /usr/libexec/squeezeboxserver
--pidfile=/var/run/squeezeboxserver/squeezeboxserver.pid
--cachedir=/var/lib/squeezeboxserver/cache
--prefsdir=/var/lib/squeezeboxserver/prefs --logdir=/var/log/squeezeboxserver
--charset=utf8
--------------------
------------------------------------------------------------------------
Ron Olsen's Profile: http://forums.slimdevices.com/member.php?userid=9233
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix