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()
Exemplo n.º 2
0
 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()
Exemplo n.º 3
0
 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()