diff --git a/doc/source/install.rst b/doc/source/install.rst index f945be9..107e8e9 100644 --- a/doc/source/install.rst +++ b/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 `_ +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 ^^^^^^^^^^^^^^ diff --git a/doc/source/quickstart.rst b/doc/source/quickstart.rst index 883b5e1..1293e04 100644 --- a/doc/source/quickstart.rst +++ b/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``::