コード例 #1
0
ファイル: default.py プロジェクト: xplayr/specto
try:
    content = params['content']
except:
    content = None
try:
    provider = params['provider']
except:
    provider = None

if action == None:
    from resources.lib.indexers import navigator
    navigator.navigator().root()

elif action == 'realdebridauth':
    from resources.lib.resolvers.realdebrid import rdAuthorize
    rdAuthorize()

elif action == 'authTrakt':
    from resources.lib.libraries import trakt
    trakt.authTrakt()

elif action == 'movieNavigator':
    from resources.lib.indexers import navigator
    navigator.navigator().movies()

elif action == 'tvNavigator':
    from resources.lib.indexers import navigator
    navigator.navigator().tvshows()

elif action == 'myNavigator':
    from resources.lib.indexers import navigator
コード例 #2
0
ファイル: default.py プロジェクト: AMObox/teammaniac
    content = None
try:
    provider = params['provider']
except:
    provider = None



if action == None:
    from resources.lib.indexers import navigator
    navigator.navigator().root()


elif action == 'realdebridauth':
    from resources.lib.resolvers.realdebrid import rdAuthorize
    rdAuthorize()

elif action == 'traktpinauth':
    from resources.lib.indexers import navigator
    navigator.navigator().trakt_pin_auth()

elif action == 'movieNavigator':
    from resources.lib.indexers import navigator
    navigator.navigator().movies()

elif action == 'tvNavigator':
    from resources.lib.indexers import navigator
    navigator.navigator().tvshows()

elif action == 'myNavigator':
    from resources.lib.indexers import navigator