Пример #1
0
    url = params['url']
except:
    url = None
try:
    image = params['image']
except:
    image = None
try:
    fanart = params['fanart']
except:
    fanart = None


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

elif action == 'directory':
    from resources.lib.indexers import phstreams
    phstreams.indexer().get(url)

elif action == 'developer':
    from resources.lib.indexers import phstreams
    phstreams.indexer().developer()

elif action == 'play':
    from resources.lib.indexers import phstreams
    phstreams.resolver().play(url)

elif action == 'browser':
    from resources.lib.indexers import phstreams
Пример #2
0
action = params.get('action')

content = params.get('content')

name = params.get('name')

url = params.get('url')

image = params.get('image')

fanart = params.get('fanart')

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

elif action == 'directory':
    from resources.lib.indexers import phstreams
    phstreams.indexer().get(url)

elif action == 'qdirectory':
    from resources.lib.indexers import phstreams
    phstreams.indexer().getq(url)

elif action == 'xdirectory':
    from resources.lib.indexers import phstreams
    phstreams.indexer().getx(url)

elif action == 'developer':
    from resources.lib.indexers import phstreams
Пример #3
0
action = params.get('action')

content = params.get('content')

name = params.get('name')

url = params.get('url')

image = params.get('image')

fanart = params.get('fanart')


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

elif action == 'directory':
    from resources.lib.indexers import phstreams
    phstreams.indexer().get(url)

elif action == 'qdirectory':
    from resources.lib.indexers import phstreams
    phstreams.indexer().getq(url)

elif action == 'xdirectory':
    from resources.lib.indexers import phstreams
    phstreams.indexer().getx(url)

elif action == 'developer':
    from resources.lib.indexers import phstreams