diff --git a/beetsplug/bpd/__init__.py b/beetsplug/bpd/__init__.py index 04260d824..1453fe912 100644 --- a/beetsplug/bpd/__init__.py +++ b/beetsplug/bpd/__init__.py @@ -1153,6 +1153,7 @@ class BPDPlugin(BeetsPlugin): 'password': u'', 'volume': VOLUME_MAX, }) + self.config['password'].redact = True def start_bpd(self, lib, host, port, password, volume, debug): """Starts a BPD server.""" diff --git a/beetsplug/mpdstats.py b/beetsplug/mpdstats.py index e40c3a7d4..fc0b3d590 100644 --- a/beetsplug/mpdstats.py +++ b/beetsplug/mpdstats.py @@ -329,6 +329,7 @@ class MPDStatsPlugin(plugins.BeetsPlugin): 'port': 6600, 'password': u'', }) + mpd_config['password'].redact = True def commands(self): cmd = ui.Subcommand( diff --git a/beetsplug/mpdupdate.py b/beetsplug/mpdupdate.py index dfe402497..1240917bb 100644 --- a/beetsplug/mpdupdate.py +++ b/beetsplug/mpdupdate.py @@ -71,6 +71,7 @@ class MPDUpdatePlugin(BeetsPlugin): 'port': 6600, 'password': u'', }) + config['mpd']['password'].redact = True # For backwards compatibility, use any values from the # plugin-specific "mpdupdate" section.