def reset_ub(): kodi.close_all() kodi.sleep(500) # sleep or reset won't work for some reason from urlresolver.plugins import uptobox ub = uptobox.UpToBoxResolver() ub.reset_authorization() kodi.notify(msg=kodi.i18n('ub_auth_reset'), duration=5000)
def reset_pm(): kodi.close_all() kodi.sleep(500) # sleep or reset won't work for some reason from urlresolver.plugins import premiumize_me pm = premiumize_me.PremiumizeMeResolver() pm.reset_authorization() kodi.notify(msg=kodi.i18n('pm_auth_reset'), duration=5000)
def reset_ad(): kodi.close_all() kodi.sleep(500) # sleep or reset won't work for some reason from urlresolver.plugins import alldebrid ad = alldebrid.AllDebridResolver() ad.reset_authorization() kodi.notify(msg=kodi.i18n('ad_auth_reset'), duration=5000)
def reset_rd(): kodi.close_all() kodi.sleep(500) # sleep or reset won't work for some reason from urlresolver.plugins import realdebrid rd = realdebrid.RealDebridResolver() rd.reset_authorization() kodi.notify(msg=kodi.i18n('rd_auth_reset'), duration=5000)
def reset_ls(): kodi.close_all() kodi.sleep(500) # sleep or reset won't work for some reason from urlresolver.plugins import linksnappy ls = linksnappy.LinksnappyResolver() ls.reset_authorization() kodi.notify(msg=kodi.i18n('ls_auth_reset'), duration=5000)
def reset_dl(): kodi.close_all() kodi.sleep(500) # sleep or reset won't work for some reason from urlresolver.plugins import debrid_link dl = debrid_link.DebridLinkResolver() dl.reset_authorization() kodi.notify(msg=kodi.i18n('dl_auth_reset'), duration=5000)
def auth_rd(): kodi.close_all() kodi.sleep(500) # sleep or authorize won't work for some reason from urlresolver.plugins import realdebrid if realdebrid.RealDebridResolver().authorize_resolver(): kodi.notify(msg='Real-Debrid Resolver Authorized', duration=5000)
def auth_ad(): kodi.close_all() kodi.sleep(500) # sleep or authorize won't work for some reason from urlresolver.plugins import alldebrid if alldebrid.AllDebridResolver().authorize_resolver(): kodi.notify(msg=kodi.i18n('ad_authorized'), duration=5000)
def auth_pm(): kodi.close_all() kodi.sleep(500) # sleep or authorize won't work for some reason from urlresolver.plugins import premiumize_me if premiumize_me.PremiumizeMeResolver().authorize_resolver(): kodi.notify(msg=kodi.i18n('pm_authorized'), duration=5000)
def auth_ls(): kodi.close_all() kodi.sleep(500) # sleep or authorize won't work for some reason from urlresolver.plugins import linksnappy if linksnappy.LinksnappyResolver().authorize_resolver(): kodi.notify(msg=kodi.i18n('ls_authorized'), duration=5000)
def auth_ub(): kodi.close_all() kodi.sleep(500) # sleep or authorize won't work for some reason from urlresolver.plugins import uptobox if uptobox.UpToBoxResolver().authorize_resolver(): kodi.notify(msg=kodi.i18n('ub_authorized'), duration=5000)
def auth_dl(): kodi.close_all() kodi.sleep(500) # sleep or authorize won't work for some reason from urlresolver.plugins import debrid_link if debrid_link.DebridLinkResolver().authorize_resolver(): kodi.notify(msg=kodi.i18n('dl_authorized'), duration=5000)