From 840acd3bd4dcee91ca34c5b4e4c89ce5e78a56b4 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sun, 6 Nov 2011 21:36:43 +0100 Subject: =?UTF-8?q?Actually=20use=20the=20port=20option=20for=20the=20port?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/mpd_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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) -- cgit v1.2.3