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

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

src/m/p/mpd-HEAD/mpdutils.py   mpd(Download)
def get_filenames(mpd_playlist, mpd_connection, mp3_root):
    client = mpd.MPDClient()
    client.connect(*mpd_connection)
    return [ os.path.join(mp3_root, filename)
             for filename in client.listplaylist(mpd_playlist) ]