Browse Source

MPD_ENFORCE_ALWAYS_PLAYING doc

closes #16
boyska 3 years ago
parent
commit
d724fa5c24
2 changed files with 5 additions and 0 deletions
  1. 4 0
      doc/source/install.rst
  2. 1 0
      doc/source/quickstart.rst

+ 4 - 0
doc/source/install.rst

@@ -100,6 +100,10 @@ EVENT_FILTERS
 LOG_CONFIG
     Path to an INI-formatted file to configure logging. See `python logging documentation
     <https://docs.python.org/2/library/logging.config.html#logging-config-dictschema>`_
+MPD_ENFORCE_ALWAYS_PLAYING
+    If this is set to 1, larigira will make sure that MPD is always playing. This means that you can't stop
+    mpd, not even manually running ``mpd stop``. That's probably useful for radios in which mpd is meant to be
+    run unattended. Default: 0
 
 Internals
 ^^^^^^^^^^^^^^

+ 1 - 0
doc/source/quickstart.rst

@@ -67,6 +67,7 @@ Now let's edit larigira settings, editing the file ``/etc/default/larigira``::
 
    LARIGIRA_EVENT_FILTERS='["percentwait"]'
    LARIGIRA_EF_MAXWAIT_PERC=400
+   LARIGIRA_MPD_ENFORCE_ALWAYS_PLAYING=1
    LARIGIRA_SECRET_KEY="changeme with a random, secret string of any length"
 
 Let's include logging configuration, editing ``/etc/larigira/logging.ini``::