From: kaliko Date: Tue, 23 Nov 2021 16:50:50 +0000 (+0100) Subject: doc: Add missig daemon section in all_settings.cfg X-Git-Tag: 0.18.1~8 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=8f164c9ff754dc496eb7f9e8cf23be6062ee15d5;p=mpd-sima.git doc: Add missig daemon section in all_settings.cfg Fixed some typo/format --- diff --git a/doc/examples/all_settings.cfg b/doc/examples/all_settings.cfg index bb5f803..62587d3 100644 --- a/doc/examples/all_settings.cfg +++ b/doc/examples/all_settings.cfg @@ -31,12 +31,29 @@ port = 6600 # ####################################################################### +########################## DAEMON SECTION ################################ +# +[daemon] +## DAEMON +# type: boolean +# description: whether to daemonize process or not +# default: False +daemon=false + +## PIDFILE +# type: string (path to the pid file) +# description: where to store process ID +# default: unset, process ID not saved to file +#pidfile= +# +####################################################################### + ######################## LOGGING FACILITY ############################# # [log] ## LOGFILE # type: string (file path) -# description: file to log to. Usually used in daemon mode. +# description: file to log to. Usually used when process is daemonized. # default: unset, logging to stdin/stdout #logfile = @@ -50,7 +67,6 @@ port = 6600 # * warning # * error verbosity = info - # ####################################################################### @@ -117,9 +133,11 @@ repeat_disable_queue = True # default: True # description: Prevent single play mode to disable queuing single_disable_queue = True +# +####################################################################### ######################### PLUGINS ##################################### - +# [genre] ## Offline genre queing @@ -294,7 +312,7 @@ shuffle_album = false # * If set to "false", caching is still done but in memory. # default: True cache = True - # -####################### END OF CONFIGURATION ########################## +####################################################################### + # vim: syntax=cfg fileencoding=utf-8 diff --git a/doc/source/man/mpd_sima.cfg.5.rst b/doc/source/man/mpd_sima.cfg.5.rst index bc3dbda..1ebe865 100644 --- a/doc/source/man/mpd_sima.cfg.5.rst +++ b/doc/source/man/mpd_sima.cfg.5.rst @@ -27,8 +27,8 @@ Here is an example of autoqueue using file tags only. [sima] # Setup internal plugins # Tags plugin falls back to Random if nothing is found then Crop the queue internal = Tags, Random, Crop - history_duration=48 # 48h / 24 = 2 days - queue_length=2 # triggers autoqueue when 2 tracks remains to play + history_duration = 48 # 48h / 24 = 2 days + queue_length = 2 # triggers autoqueue when 2 tracks remains to play [tags] # Look for files with tagged with genre "electronica" OR "IDM" OR "glitch" @@ -36,7 +36,7 @@ Here is an example of autoqueue using file tags only. [crop] # keep 30 played tracks in playlist - consume=30 + consume = 30 Album queue mode using last.fm recommendations (online mode). @@ -118,7 +118,7 @@ Configure process daemon. **[daemon]** **daemon=false** - whether to daemonize process or not. + Whether to daemonize process or not. **pidfile=** Where to store process ID.