Beispiel #1
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'))
Beispiel #2
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'))
Beispiel #3
0
 def __init__(self):
     count = common_xbmc.get_settings('nbVideoPerBackend')
     numbers = ["10", "25", "50", "100"]
     self.videoobmc = Videoobmc(count=numbers[int(count)], nsfw=common_xbmc.get_settings('nsfw'))
Beispiel #4
0
 def __init__(self):
     count = common_xbmc.get_settings('nbVideoPerBackend')
     numbers = ["10", "25", "50", "100"]
     self.videoobmc = Videoobmc(count=numbers[int(count)],
                                nsfw=common_xbmc.get_settings('nsfw'))