From d724fa5c24fe1e1e44ae5fff23c936349292eacc Mon Sep 17 00:00:00 2001 From: boyska Date: Sat, 27 Mar 2021 13:22:52 +0100 Subject: [PATCH] MPD_ENFORCE_ALWAYS_PLAYING doc closes #16 --- doc/source/install.rst | 4 ++++ doc/source/quickstart.rst | 1 + 2 files changed, 5 insertions(+) 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``::