At start up default configuration is first overridden by user configuration in mpd_sima.cfg (see the section called "FILES") and finally command lines options are honored. For instance you can override default MPD_HOST set in defaults (localhost) or in your configuration file with -S my_mpd_server option. For default configuration see the section called "CONFIGURATION".
Here follows an example on how to launch mpd-sima as a service on your system, not attach to regular user configuration/database.
mpd-sima --conf=/etc/mpd_sima.cfg --var_dir=/var/cache/mpd-sima/ --log=/var/log/mpd-sima.log
Launching mpd-sima from/whithin your user acount is easy, you can simply call mpd-sima from your shell or one of the following command:
mpd-sima --log=$HOME/var/log/mpd-sima.log
mpd-sima --host=my.mpdserver.org
The script is not yet forking the process in background as a regular daemon. Hence you'll have to explicitly ask for it, refer to your shell documentation to do so.
The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
-h, --help
--version
-p pid_file, --pid=pid_file
-l log_file, --log=log_file
-c conf_file, --config=conf_file
--var_dir=var_directory
-S mpd_host, --host=mpd_host
See also the section called "ENVIRONMENT".
-P mpd_port, --port=mpd_port
See also the section called "ENVIRONMENT"
--new-version
${XDG_CONFIG_HOME}/mpd_sima/mpd_sima.cfg
${XDG_DATA_HOME}/mpd_sima/sima.db
MPD_HOST, MPD_PORT
mpd-sima expects MPD_HOST syntax as documented in mpc manual, cf. mpc(1).
To use a password, provide a value of the form "password@host".
mpd_sima.cfg
DEFAULTS
The default behavior is to add one track, this track is to be chosen among titles from artists similar to the artist of the currently played track. MPD_sima will add one track when the play list is one track long.
To change these defaults, use the configuration file mpd_sima.cfg
The upstream BTS can be found at m[blue]http://codingteam.net/project/sima/bugsm[].
The maintainer would be more than happy to ear from you, don't hesitate to send feedback on the forge, via the upstream BTS, the forum or the chat room, all available on the forge at m[blue]http://codingteam.net/project/simam[].
XMPP users are welcome to join the dedicated chat room at m[blue]sima@conference.codingteam.netm[].
Jack Kaliko <efrim@azylum.org>
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.