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

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/m/p/MPD-UPnP-HEAD/library.py   MPD-UPnP(Download)
from mpdobjects.playlist import MPDPlaylist
from mpdobjects.song import MPDSong
import threading, time, sys
 
LIBRARY = None
                mpdsongs.append(self.songs_by_file[song['file']])
 
            playlist = MPDPlaylist(p['playlist'], mpdsongs)
            self.register_playlist(playlist)
 
            curmpdsongs.append(self.songs_by_file[song['file']])
 
        self.register_playlist(MPDPlaylist('Current Playlist', curmpdsongs))
        self.register_playlist(MPDPlaylist('All Songs', self.songs))
        self.playlists.reverse()

src/m/p/MPD-UPnP-HEAD/services/contentdirectory.py   MPD-UPnP(Download)
from gi.repository import GObject, GUPnPAV
from mpdobjects.playlist import MPDPlaylist
import time, library
 
def browse_action(service, action):