def __init__(self):
self.client = MPDClient()
- def mpdConnect(self, con_id):#{{{
+ def mpdConnect(self):#{{{
"""
Simple wrapper to connect MPD.
- con_id = {'host': 'MPD_server', 'port': 'MPD_server port'}
"""
+ con_id = dict({'host':self.cli_options.host, 'port':self.cli_options.port})
try:
self.client.connect(**con_id)
except SocketError: