From ed0adc2b6343358274c8b4ab28889f4db245e796 Mon Sep 17 00:00:00 2001 From: "nathdwek@laptop" Date: Fri, 26 Aug 2016 18:18:35 +0200 Subject: [PATCH] Add more doc and changelog for #2175 --- docs/changelog.rst | 4 ++++ docs/plugins/mpdstats.rst | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index a3a392d53..950dd991d 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -20,6 +20,10 @@ to know: The are a couple of small new features: +* :doc:`/plugins/mpdupdate`, :doc:`/plugins/mpdstats`: When the ``host`` option + is not set, these plugins will now look for the ``$MPD_HOST`` environment + variable before falling back to ``localhost``. Thanks to :user:`tarruda`. + :bug:`2175` * :doc:`/plugins/web`: Added an ``expand`` option to show the items of an album and a ``path`` field to the JSON output of a file which shows the filled-out path template for each file. :bug:`2050` diff --git a/docs/plugins/mpdstats.rst b/docs/plugins/mpdstats.rst index 4389fa27e..5472e7294 100644 --- a/docs/plugins/mpdstats.rst +++ b/docs/plugins/mpdstats.rst @@ -39,7 +39,8 @@ To configure the plugin, make an ``mpd:`` section in your configuration file. The available options are: - **host**: The MPD server hostname. - Default: ``localhost``. + Default: The ``$MPD_HOST`` environment variable if set, + falling back to ``localhost`` otherwise. - **port**: The MPD server port. Default: 6600. - **password**: The MPD server password.