Re: [SlimDevices: Unix] command line options for slimserver.pl

2010-02-27 Thread gharris999

No idea if this is complete, but, here is the output of 

# grep \-\- slimserver.pl


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;
  Usage: $0 [--diag] [--daemon] [--stdio]
  [--logdir logpath]
  [--logfile logfilepath|syslog]
  [--user username]
  [--group groupname]
  [--httpport portnumber [--httpaddr listenip]]
  [--cliport portnumber [--cliaddr listenip]]
  [--priority priority]
  [--prefsdir prefspath [--pidfile pidfilepath]]
  [--perfmon] [--perfwarn=threshold | --perfwarn warn options]
  [--checkstrings] [--charset charset]
  [--noweb] [--notranscoding] [--nosb1slimp3sync] [--nostatistics]
  [--logging logging-spec] [--noinfolog | --nodebuglog]
  --help   = Show this usage information.
  --cachedir   = Directory for Squeezebox Server to save cached music and 
web data
  --diag   = Use diagnostics, shows more verbose errors.
  --logdir = Specify folder location for log file
  --logfile= Specify a file for error logging.  Specify 'syslog' to 
log to syslog.
  --noLogTimestamp = Don't add timestamp to log output
  --daemon = Run the server in the background.
  --stdio  = Use standard in and out as a command line interface 
  --user   = Specify the user that server should run as.
  --group  = Specify the group that server should run as.
  --httpport   = Activate the web interface on the specified port.
  --httpaddr   = Activate the web interface on the specified IP address.
  --cliport= Activate the command line interface TCP/IP interface
  --cliaddr= Activate the command line interface TCP/IP 
  --prefsdir   = Specify the location of the preferences directory
  --pidfile= Specify where a process ID file should be stored
  --quiet  = Minimize the amount of text output
  --playeraddr = Specify the _server's_ IP address to use to connect 
  --priority   = set process priority from -20 (high) to 20 (low)
  --streamaddr = Specify the _server's_ IP address to use to connect
  --nodebuglog = Disable all debug-level logging (compiled out).
  --noinfolog  = Disable all debug-level  info-level logging (compiled 
out).
  --nosetup= Disable setup via http.
  --noserver   = Disable web access server settings, but leave player 
settings accessible.
  --noweb  = Disable web interface. JSON-RPC, Comet, and artwork web 
APIs are still enabled.
  --nosb1slimp3sync= Disable support for SliMP3s, SB1s and associated 
synchronization
  --nostatistics   = Disable the TracksPersistent table used to keep to 
statistics across rescans (compiled out).
  --notranscoding  = Disable transcoding support.
  --noupnp = Disable UPnP subsystem
  --perfmon= Enable internal server performance monitoring
  --perfwarn   = Generate log messages if internal tasks take longer than 
specified threshold
  --failsafe   = Don't load plugins
  --checkstrings   = Enable reloading of changed string files for plugin 
development
  --charset= Force a character set to be used, eg. utf8 on Linux 
devices
  --dbtype = Force database type (valid values are MySQL or SQLite)
  --logging= Enable logging for the specified comma separated 
categories
# make --logging and --debug synonyms, but prefer --logging
@argv = grep { $_ ne '--daemon' } @argv;
# we were passed '--user root' or any other used with uid 0.
  #--
  


Note that this is from the 7.5 embedded code.


-- 
gharris999

gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=60235

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] command line options for slimserver.pl

2010-02-26 Thread th00ht

I'd love to see these as well. Seems that the develops forum is gone
from this server.


-- 
th00ht

SqueezeBox v3
Squeezebox Server 7.4.1 / Archlinux
Quad 303 + Two Quad Electrostats
'last.fm' (http://www.last.fm/user/th00ht)

th00ht's Profile: http://forums.slimdevices.com/member.php?userid=15656
View this thread: http://forums.slimdevices.com/showthread.php?t=60235

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] command line options for slimserver.pl

2010-02-26 Thread bobertuk

Here's an example of how SSOTS starts slimserver on a QNAP NAS:

/opt/ssods4/var/home/SqueezeboxServer/slimserver.pl  --daemon --pidfile
/opt/ssods4/var/home/SqueezeboxServer/Cache/squeezecenter.pid --cachedir
/opt/ssods4/var/home/SqueezeboxServer/Cache --logdir
/opt/ssods4/var/home/SqueezeboxServer/Logs --prefsdir
/opt/ssods4/var/home/SqueezeboxServer/Prefs --noupnp --priority 0 --user
guest --group everyone --httpport 9001 

Not a definitive list of command line options but may be of help.

Bob


-- 
bobertuk

1 x Duet - SC 7.4.2 - SSOTS v4.1
1 x Boom
Lavry DA-10 DAC
QNAP TS-509 3.1.2 build 1014T
Starfish Pre-amp : Based on NAIM
Heavily modified NAIM NAP 250 Power-amp
Behringer DEQ2496
Linn Isobarik DMS

bobertuk's Profile: http://forums.slimdevices.com/member.php?userid=30376
View this thread: http://forums.slimdevices.com/showthread.php?t=60235

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] command line options for slimserver.pl

2009-02-17 Thread Thomas8675309

I recently installed squeezecenter 7.3.2 on a homebrew Linux From
Scratch system.  Slimserver is working, but I want to fine-tune (and
write (or adapt) some bootscripts).  I'm trying to learn more about the
command line options when I start slimserver.pl.  If I run
slimserver.pl --help, I get some very brief descriptions of the
command line options, but without details.  (For example, for
--logging, it says Enable logging for the specified comma separated
categories without saying what those categories are.)

At the end of the help, its says, See complete documentation for
details on the command syntax.  Where do I find that complete
documentation?  I had a look through the wiki, but the only article on
the command line interface referred to the telnet interface, not
command line options.

Thanks for any help.  Sorry if I've overlooked an obvious place.

Cheers.


-- 
Thomas8675309

Thomas8675309's Profile: http://forums.slimdevices.com/member.php?userid=23271
View this thread: http://forums.slimdevices.com/showthread.php?t=60235

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix