Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(11)  |  Call(11)  |  Derive(0)  |  Import(0)

src/p/y/python-mpd2-HEAD/examples/randomqueue.py   python-mpd2(Download)
if PASSWORD:
    try:
        client.password(PASSWORD)
    except CommandError:
        exit(1)

src/p/i/pipobot-modules-HEAD/botmpd/libmpd/BotMPD.py   pipobot-modules(Download)
    def connection(self, host, port, pwd):
       self.token.acquire()
       try:
           self.connect(host, port)
           self.password(pwd)

src/t/a/Talho-HEAD/modules/mpdmod.py   Talho(Download)
        return "ошибка соединения: " + msg
    try:
        client.password(bot.settings['mpd_password'])
    except mpd.CommandError:
        client.disconnect()

src/i/n/indimpc-HEAD/indimpc.py   indimpc(Download)
        self.mpdclient.connect(self.config.mpd_host, self.config.mpd_port)
        if self.config.mpd_password not in (None, ""):
            self.mpdclient.password(self.config.mpd_password)
 
        gtk.Window.__init__(self)
            self.mpdclient.connect(self.config.mpd_host, self.config.mpd_port)
            if self.config.mpd_password not in ("", None):
                self.mpdclient.password(self.config.mpd_password)
            self.oldstatus = self.mpdclient.status()["state"]
        except socket.error:

src/d/y/DynaMPD-HEAD/dynampd.py   DynaMPD(Download)
        self.connect(opts.host, opts.port)
        if opts.password:
            self.password(opts.password)
 
    def run(self):

src/p/o/poezio-0.8.1/plugins/mpd_client.py   poezio(Download)
        password = self.config.get('password', '')
        if password:
            c.password(password)
        current = c.currentsong()
        artist = current.get('artist', 'Unknown artist')

src/m/p/mpd-HEAD/mpdspl.py   mpd(Download)
    def __parseDB(self):
        client = mpd.MPDClient()
        client.connect(self.host, self.port)
        if self.password:
            client.password(self.password)

src/t/h/theory-HEAD/theory/model/mpdhelper.py   theory(Download)
        self.mpdc.connect(self.g.tc.server, self.g.tc.port)
        if self.g.tc.password:
            self.mpdc.password(self.g.tc.password)
            log.debug('using password')
 

src/a/i/airadio-HEAD/air_manager.py   airadio(Download)
  if password:
    try:
      client.password(password)
    except CommandError:
      raise

src/q/u/quetzalcoatl-HEAD/quetzalcoatl.py   quetzalcoatl(Download)
        self.idleThread = IdleThread()
        if self.options.needPassword:
            self.idleClient.password(str(self.options.password))
        self.idleThread.client = self.idleClient
        self.connect(self.idleThread, QtCore.SIGNAL("playlists"),