diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mpd_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mpd_client.py b/plugins/mpd_client.py index bfba7df0..16255b86 100644 --- a/plugins/mpd_client.py +++ b/plugins/mpd_client.py @@ -11,7 +11,7 @@ class Plugin(BasePlugin): def command_mpd(self, args): args = shell_split(args) c = mpd.MPDClient() - c.connect(host=self.config.get('host', 'localhost'), port=self.config.get('host', '6600')) + c.connect(host=self.config.get('host', 'localhost'), port=self.config.get('port', '6600')) password = self.config.get('password', '') if password: c.password(password) |