parent
b97bf3271d
commit
d724fa5c24
2 changed files with 5 additions and 0 deletions
|
@ -100,6 +100,10 @@ EVENT_FILTERS
|
||||||
LOG_CONFIG
|
LOG_CONFIG
|
||||||
Path to an INI-formatted file to configure logging. See `python logging documentation
|
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>`_
|
<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
|
Internals
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
|
@ -67,6 +67,7 @@ Now let's edit larigira settings, editing the file ``/etc/default/larigira``::
|
||||||
|
|
||||||
LARIGIRA_EVENT_FILTERS='["percentwait"]'
|
LARIGIRA_EVENT_FILTERS='["percentwait"]'
|
||||||
LARIGIRA_EF_MAXWAIT_PERC=400
|
LARIGIRA_EF_MAXWAIT_PERC=400
|
||||||
|
LARIGIRA_MPD_ENFORCE_ALWAYS_PLAYING=1
|
||||||
LARIGIRA_SECRET_KEY="changeme with a random, secret string of any length"
|
LARIGIRA_SECRET_KEY="changeme with a random, secret string of any length"
|
||||||
|
|
||||||
Let's include logging configuration, editing ``/etc/larigira/logging.ini``::
|
Let's include logging configuration, editing ``/etc/larigira/logging.ini``::
|
||||||
|
|
Loading…
Reference in a new issue