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

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

src/m/p/MPD-UPnP-HEAD/mpdobjects/song.py   MPD-UPnP(Download)
        item.set_artist(self.artist)
        item.set_album(self.album)        
        item.set_id(str(self.get_id()))
 
        if self.resource:

src/m/p/MPD-UPnP-HEAD/mpdobjects/playlist.py   MPD-UPnP(Download)
    def writeself(self, writer):
        container = writer.add_container()
        container.set_title(self.name)
        container.set_child_count(len(self.songs))
        container.set_id(str(self.get_id()))