“A personal music server
for everyone”

Command Line Options

Sockso has some extra command line options you can use to change the way it works. You pass these commands to Sockso by running it from the command line and with these options after the startup file (windows.bat or linux.sh)

--nogui
Disables the GUI, this can be used to run Sockso on a server. You will be presented with a console to manage Sockso. Type help for a full list of the commands.

--datadir
Tells Sockso where to store/look for all it's data. This can be used to to make Sockso portable for instance, by setting the data directory to wherever you want it to be. The (default) HSQLDB stores its data here, and cached cover images too.

--upnp (EXPERIMENTAL)
Enable UPNP automatic port forwarding. On startup Sockso will try to forward the correct port from your UPNP enabled router. This requires the optionals package.

--logtype=(default|dev)
Sets the type of messages Sockso will output. "default" is the default and just produces the usual information about what Sockso is doing. "dev" can be used to provide much more detailed information.

--ip=(ip address)
Tell Sockso a fixed IP address to use (by default it'll try and work it out itself).

--locale=(en|it|nb|de)
Here you can specify the language to use for the management interface (through the web interface Sockso will pick the language according to that specified by the users browser).

--query=(optional filename)
Specifies to run a query on the database and output the results as XML instead of starting Sockso. You can specify a file to read the SQL from, or Sockso will try to read the SQL from stdin.

--resourcestype=(file|jar)
This will tell Sockso whether to load it's resources from the jar file, or look on the filesystem in the resources folder (default).

SSL

--ssl
Run Sockso using HTTPS instead of HTTP.

--sslKeystore=(filename)
Specifies the location of a keystore to use for SSL

--sslKeystorePassword=(password)
Specifies a password for the SSL keystore

Databases

--dbtype=(hsql|mysql|sqlite)
The type of database to use. The MySQL and SQLite database require the optionals installed.

--dbhost=(DNS or IP)
The host for the database server

--dbuser=(username)
Database user

--dbpass=(password)
Database user's password

--dbname=(name)
Name of the database to use

--help
Prints out information about the command line options.

If you love using Sockso and would like to give a little back, try a donation to help out and support open source development.

Latest News & Releases RSS Icon

10th April

Sockso 1.2.4 - Patches from Will to improve HTTP/HTTPS streaming performance, and HTML compliance, improved music tree in GUI to cope with any size collections, hidden files now ignored on indexing, and some other bugs.

8th February

Sockso 1.2.3 - Fixed broken 1.2.2 release.

7th February 2010

Sockso 1.2.2 (BROKEN) - Users can now change their passwords via the web interface, added property to disable checking for the latest version, new manual scheduler, and bug fixes for quotes in track names and amazon cover fetching.

30th December

Sockso 1.2.1 - New cron scheduling support for collection scanning, streaming improvement (by mrave), and added palm pre support.

26th September

Sockso 1.2 - New faster track indexing, AAC support (by mrave), CPU usage improvements, updated Dutch translation, lots of other fixes.

Linux Logo Windows Logo OSX Logo

Smutty Logo