def run_internal(self, args): topics = Topics(self.get_HTML, self.logger) for title, topic in topics.get_topics(): self.ui.addItem(title, 'topicVids', args={'topic': topic}, isFolder=True) self.ui.endofdirectory()
def run_internal(self, args): topics = Topics(self.get_HTML, self.logger) for title, topic in topics.get_topics(): self.ui.addItem(title, 'topicVids', args={'topic': topic}, isFolder=True) xbmcplugin.setContent(int(sys.argv[1]), 'genres') self.ui.endofdirectory()
def run_internal(self, args): topics = Topics(self.get_HTML, self.logger) for title, link, img, speaker in topics.get_talks(args['topic']): self.ui.addItem(title, 'playVideo', link, img, isFolder=False, video_info={'author': speaker}) self.ui.endofdirectory()
def run_internal(self, args): topics = Topics(self.get_HTML, self.logger) for title, link, img, speaker in topics.get_talks(args['topic']): self.ui.addItem(title, 'playVideo', link, img, isFolder=False, video_info={ 'author': speaker, 'mediatype': "video" }) xbmcplugin.setContent(int(sys.argv[1]), 'videos') self.ui.endofdirectory()