MPD_ENFORCE_ALWAYS_PLAYING doc

closes #16
This commit is contained in:
boyska 2021-03-27 13:22:52 +01:00
parent b97bf3271d
commit d724fa5c24
2 changed files with 5 additions and 0 deletions

View file

@ -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
^^^^^^^^^^^^^^

View file

@ -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``::