+ # honor MPD_HOST format as in mpc(1) for command line option --host
+ if self.startopt.get('host'):
+ if '@' in self.startopt.get('host'):
+ host, passwd = utils.parse_mpd_host(self.startopt.get('host'))
+ if passwd:
+ self.config.set('MPD', 'password', passwd)
+ if host:
+ self.config.set('MPD', 'host', host)