X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=data%2Fman%2Fmpd_sima.1.xml;h=7d4269a29c3172d384b0ff6c151632c3c28b9145;hb=b75a67a8ef2924dbcfdb9838d5b35447baf1e4be;hp=48cf028cd2aa45ae3dc712120fc8a0bf5aa1bb01;hpb=d906b7f06726d9dd34ac9a6873bdf8fe683059d4;p=mpd-sima.git diff --git a/data/man/mpd_sima.1.xml b/data/man/mpd_sima.1.xml index 48cf028..7d4269a 100644 --- a/data/man/mpd_sima.1.xml +++ b/data/man/mpd_sima.1.xml @@ -64,32 +64,42 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ &dhpackage; conf_file - var_directory + var_directory pid_file log_file log_level mpd_host mpd_port - - &dhpackage; - var_directory - - &dhpackage; - - + + + - + + &dhpackage; + config-test + conf_file + + + &dhpackage; + create-db + var_directory + + + &dhpackage; + generate-config + + DESCRIPTION @@ -109,7 +119,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ Launch as a system service (dæmon). Here follows an example on how to launch &dhpackage; as a service on your system, not attach to regular user configuration/database. - &dhpackage; --daemon --conf=/etc/mpd_sima.cfg --var_dir=/var/cache/mpd-sima/ --pid=/run/mpd-sima.pid --log=/var/log/mpd-sima.log + &dhpackage; --daemon --conf=/etc/mpd_sima.cfg --var-dir=/var/cache/mpd-sima/ --pid=/run/mpd-sima.pid --log=/var/log/mpd-sima.log Launch in user land @@ -184,16 +194,10 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ - - + + - Use the specific path var_directory to look for (or create) var files (ie. database) instead of looking at the default user data location.Default is to look in $XDG_DATA_HOME/mpd_sima/. Concerning $XDG_DATA_HOME see also - - - - - - Create the database and exit. Uses folder specified with or default directory.Default is to use $XDG_DATA_HOME/mpd_sima/. Concerning $XDG_DATA_HOME see also + Use the specific path var_directory to look for (or create) var files (ie. database) instead of looking at the default user data location.Default is to look in $XDG_DATA_HOME/mpd_sima/. Concerning $XDG_DATA_HOME see also . @@ -212,6 +216,25 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ See also + + + + Test configuration file and exit. Uses the configuration file specified with or default location.Default is to use $XDG_CONFIG_HOME/mpd_sima/mpd_sima.cfg (see for more). + config-test tests MPD connection and Tags plugin configuration. + + + + + + Create the database and exit. Uses folder specified with or default directory.Default is to use $XDG_DATA_HOME/mpd_sima/ (see for more). + + + + + + Generate a sample configuration file according to the current CLI options and env. var.. The configuration is written on stdout. + + @@ -230,6 +253,12 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + + HTTP_PROXY, HTTPS_PROXY + + &dhutils; honors HTTP_PROXY environment variables. + + @@ -249,13 +278,9 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ DEFAULTS - Default is to look for MPD server at localhost:6600 (or MPD_HOST/MPD_PORT env. var. if set). - The default behavior is to add one track, this - track is to be chosen among titles from artists - similar to the last artist in the queue. MPD_sima - will add one track when the unplayed queue is one - track long. - To change these defaults, use the configuration file mpd_sima.cfg + Default is to look for MPD server at localhost:6600 (or MPD_HOST/MPD_PORT env. var. if set). The default plugins will use Last.fm to find similar tracks to queue and fallback to random if nothing if found. + The get the defaults as detected by &dhpackage; on your system you can run &dhpackage; to print the config: + &dhpackage; generate-config