Пример #1
0
 def _do(self, param={}):
     _id = param.get('id')
     backend = param.get('backend')
     if _id:
         aThread = Thread(target=self.download, args=(_id, backend))
         aThread.start()
         common_xbmc.display_info(common_xbmc.get_translation('30301'))
     common_xbmc.end_of_directory(False)
Пример #2
0
 def _do(self, param={}):
     _id = param.get('id')
     backend = param.get('backend')
     if _id:
         aThread = Thread(target=self.download, args=(_id, backend))
         aThread.start()
         common_xbmc.display_info(common_xbmc.get_translation('30301'))
     common_xbmc.end_of_directory(False)
Пример #3
0
 def _do(self, param={}):
     common_xbmc.display_info(common_xbmc.get_translation('30551'))
     self.videoobmc.update()
     common_xbmc.display_info(common_xbmc.get_translation('30552'))
Пример #4
0
 def download(self, _id, backend):
     dl_dir = common_xbmc.get_settings('downloadPath')
     self.videoobmc.download(_id, dl_dir if dl_dir else common_xbmc.get_addon_dir(), backend)
     common_xbmc.display_info(common_xbmc.get_translation('30302'))
Пример #5
0
 def download(self, _id, backend):
     dl_dir = common_xbmc.get_settings('downloadPath')
     self.videoobmc.download(
         _id, dl_dir if dl_dir else common_xbmc.get_addon_dir(), backend)
     common_xbmc.display_info(common_xbmc.get_translation('30302'))
Пример #6
0
 def _do(self, param={}):
     common_xbmc.display_info(common_xbmc.get_translation('30551'))
     self.videoobmc.update()
     common_xbmc.display_info(common_xbmc.get_translation('30552'))