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, topic in topics.get_topics(): self.ui.addItem(title, 'topicVids', args={ 'topic': topic }, isFolder=True) self.ui.endofdirectory()