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

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

src/p/y/python-mpd2-HEAD/examples/randomqueue.py   python-mpd2(Download)
        exit(1)
 
client.add(choice(client.list('file')))
client.disconnect()
 

src/p/i/pipobot-modules-HEAD/botmpd/libmpd/BotMPD.py   pipobot-modules(Download)
        deb = int(playlist["playlistlength"])
        for elt in selection:
            self.add(elt["file"])
        for i in range(deb, deb + nb):
            self.setnext(i)

src/s/o/soma-pi-HEAD/soma_pi/views.py   soma-pi(Download)
        client.connect("localhost", 6600)
        client.clear()
        client.add(station.url)
        client.play()
        client.disconnect()

src/d/y/DynaMPD-HEAD/dynampd.py   DynaMPD(Download)
                        try:
                            for fname in dynampd.get_a_selection(artist, title):
                                self.add(fname)
                        except ValueError, e:
                            prev = (None, None)