From 3acd44260ac3f8ee73e19eb9c1ab88d05b760158 Mon Sep 17 00:00:00 2001 From: "nathdwek@laptop" Date: Fri, 26 Aug 2016 18:17:37 +0200 Subject: [PATCH] Apply #2175 to mpdstats to keep consistency --- beetsplug/mpdstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/mpdstats.py b/beetsplug/mpdstats.py index 8ae3eb783..0f78ee561 100644 --- a/beetsplug/mpdstats.py +++ b/beetsplug/mpdstats.py @@ -331,7 +331,7 @@ class MPDStatsPlugin(plugins.BeetsPlugin): 'music_directory': config['directory'].as_filename(), 'rating': True, 'rating_mix': 0.75, - 'host': u'localhost', + 'host': os.environ.get('MPD_HOST', u'localhost'), 'port': 6600, 'password': u'', })