X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;ds=inline;f=data%2Fman%2Fmpd_sima.1.xml;h=16810bddd9f6d884e0824cb0ac08054d3f442082;hb=f4fb163f42b5847be7c67e31bf5154d6eb09175f;hp=5362cb9579c047c4d1bbdb39f170a6706e63c3e5;hpb=14a769add6d435a7ad7db4d36074dc79511af4e3;p=mpd-sima.git
diff --git a/data/man/mpd_sima.1.xml b/data/man/mpd_sima.1.xml
index 5362cb9..16810bd 100644
--- a/data/man/mpd_sima.1.xml
+++ b/data/man/mpd_sima.1.xml
@@ -57,14 +57,14 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
&dhpackage;
- &dhpackage; will try to maintain some titles ahead in your play list following different policies.
+ &dhpackage; will try to maintain some titles ahead in the queue following different policies.&dhpackage;conf_file
- var_directory
+ var_directorypid_filelog_filelog_level
@@ -73,21 +73,26 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
&dhpackage;
- var_directory
-
+ --create-db
+ var_directory
+
+
+ &dhpackage;
+ --generate-config
+ &dhpackage;
-
-
+
+
+
-
@@ -100,14 +105,16 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
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 .
+ configuration see . See also environment
+ variables special case for MPD host and port in .
+
EXAMPLELaunch 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.logLaunch in user land
@@ -167,23 +174,37 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
Verbosity in [debug,info,warning,error].Default is to log info messages.
-
+
- Use the specific file conf_file to set up configuration instead of looking for the default user configuration file.Default is to look for $XDG_CONFIG_HOME/mpd_sima/mpd_sima.cfg. Concerning this file see also .Pay attention: Because you load a specific configuration file from command line interface does not mean it will override others options pass to mpd_sima. In other words launching with will override port setting whatever the configuration file your using, default or command line specified.
+ Use the specific file conf_file to set up
+ configuration instead of looking for the default user
+ configuration file.Default is to look for
+ $XDG_CONFIG_HOME/mpd_sima/mpd_sima.cfg.
+ CLI option overrides any equivalent mentioned in configuration file, ie. launching &dhutils; with '' CLI option will ignore port setting in configuration file.
+ For more details on configuration file cf.
+ mpd_sima.cfg
+ 5, 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
+
+
+
+ Generate a sample configuration file according to the current configuration. You can put other options with this one to get them in the generated configuration.
+
+
- 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
+ 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
@@ -220,6 +241,12 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
+
+ HTTP_PROXY, HTTPS_PROXY
+
+ &dhutils; honors HTTP_PROXY environment variables.
+
+
@@ -240,12 +267,8 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
DEFAULTSDefault 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 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 get the defaults as detected by &dhpackage; on your system you can run &dhpackage; to print the config:
+ &dhpackage; --generate-config