def auth_rd(): kodi.close_all() kodi.sleep(500) # sleep or authorize won't work for some reason from urlresolver9.plugins import realdebrid if realdebrid.RealDebridResolver().authorize_resolver(): kodi.notify(msg="Real-Debrid Resolver Authorized", duration=5000)
def reset_rd(): kodi.close_all() kodi.sleep(500) # sleep or reset won't work for some reason from urlresolver9.plugins import realdebrid rd = realdebrid.RealDebridResolver() rd.reset_authorization() kodi.notify(msg='Real-Debrid Authorization Reset', duration=5000)
def reset_rd(): kodi.close_all() kodi.sleep(500) # sleep or reset won't work for some reason from urlresolver9.plugins import realdebrid rd = realdebrid.RealDebridResolver() rd.reset_authorization() kodi.notify(msg="Real-Debrid Authorization Reset", duration=5000)
def reset_cache(): if cache.reset_cache(): kodi.notify(msg="Cache Reset") else: kodi.notify(msg="Cache Reset Failed")
def reset_cache(): if cache.reset_cache(): kodi.notify(msg='Cache Reset') else: kodi.notify(msg='Cache Reset Failed')
def auth_rd(): kodi.close_all() kodi.sleep(500) # sleep or authorize won't work for some reason from urlresolver9.plugins import realdebrid if realdebrid.RealDebridResolver().authorize_resolver(): kodi.notify(msg='Real-Debrid Resolver Authorized', duration=5000)