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'))
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'))
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'))