def __init__(self, session): BaseChannelsEndpoint.__init__(self, session) child_handler_dict = {"subscribed": ChannelsSubscribedEndpoint, "discovered": ChannelsDiscoveredEndpoint, "popular": ChannelsPopularEndpoint} for path, child_cls in child_handler_dict.iteritems(): self.putChild(path, child_cls(self.session))
def __init__(self, session, cid): BaseChannelsEndpoint.__init__(self, session) self.cid = bytes(cid.decode('hex')) child_handler_dict = {"torrents": ChannelsTorrentsEndpoint, "rssfeeds": ChannelsRssFeedsEndpoint, "playlists": ChannelsPlaylistsEndpoint, "recheckfeeds": ChannelsRecheckFeedsEndpoint} for path, child_cls in child_handler_dict.iteritems(): self.putChild(path, child_cls(session, self.cid))
def __init__(self, session, cid): BaseChannelsEndpoint.__init__(self, session) self.cid = bytes(cid.decode('hex')) child_handler_dict = {"torrents": ChannelsTorrentsEndpoint, "rssfeeds": ChannelsRssFeedsEndpoint, "playlists": ChannelsPlaylistsEndpoint, "recheckfeeds": ChannelsRecheckFeedsEndpoint, "mdblob": ChannelsDiscoveredExportEndpoint} for path, child_cls in child_handler_dict.iteritems(): self.putChild(path, child_cls(session, self.cid))
def __init__(self, session): BaseChannelsEndpoint.__init__(self, session) child_handler_dict = { "subscribed": ChannelsSubscribedEndpoint, "discovered": ChannelsDiscoveredEndpoint, "popular": ChannelsPopularEndpoint } for path, child_cls in child_handler_dict.iteritems(): self.putChild(path, child_cls(self.session))
def __init__(self, session, cid): BaseChannelsEndpoint.__init__(self, session) self.cid = bytes(cid.decode('hex'))
def __init__(self, session, cid): BaseChannelsEndpoint.__init__(self, session) self.cid = cid
def __init__(self, session, cid, playlist_id): BaseChannelsEndpoint.__init__(self, session) self.cid = cid self.playlist_id = playlist_id
def __init__(self, session, cid, playlist_id, infohash): BaseChannelsEndpoint.__init__(self, session) self.cid = cid self.playlist_id = playlist_id self.infohash = infohash.decode('hex')
def __init__(self, session, cid): BaseChannelsEndpoint.__init__(self, session) self.cid = cid self.is_chant_channel = (len(cid) == 74)
def __init__(self, session, cid, playlist_id, infohash): BaseChannelsEndpoint.__init__(self, session) self.cid = cid self.playlist_id = playlist_id self.infohash = infohash.decode('hex')
def __init__(self, session, cid, playlist_id): BaseChannelsEndpoint.__init__(self, session) self.cid = cid self.playlist_id = playlist_id
def __init__(self, session, cid, path): BaseChannelsEndpoint.__init__(self, session) self.cid = cid self.path = path self.deferred = Deferred() self.is_chant_channel = (len(cid) == 74)
def __init__(self, session, cid, path): BaseChannelsEndpoint.__init__(self, session) self.cid = cid self.path = path self.deferred = Deferred()
def __init__(self, session, cid): BaseChannelsEndpoint.__init__(self, session) self.cid = cid self.is_chant_channel = (len(cid) == 74)
def __init__(self, session, cid, path): BaseChannelsEndpoint.__init__(self, session) self.cid = cid self.path = path self.deferred = Deferred() self.is_chant_channel = (len(cid) == 74)
def __init__(self, session, cid): BaseChannelsEndpoint.__init__(self, session) self.cid = cid
def __init__(self, session, cid): BaseChannelsEndpoint.__init__(self, session) self.cid = bytes(cid.decode('hex'))