Ejemplo n.º 1
0
    image = '0'
try:
    fanart = params['fanart']
except:
    fanart = '0'




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

elif action == 'dmode' or action == 'ndmode':
    from resources.lib.indexers import phstreams
    phstreams.getDirectory(name, url, audio, image, fanart, content)

elif action == 'subDirectory':
    from resources.lib.indexers import phstreams
    phstreams.subDirectory(name, url, audio, image, fanart, tvshow, content)

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

elif action == 'search':
    from resources.lib.indexers import phstreams
    phstreams.getSearch()

elif action == 'searchDirectory':
    from resources.lib.indexers import phstreams
Ejemplo n.º 2
0
    from resources.lib.indexers import thai2
    thai2.thai().sourcePage(url, name, image)
# End thai stuff

elif action == 'liveTV':
    from resources.lib.indexers import livetv
    livetv.livetv().makelist()

elif action == 'watchLiveTV':
    from resources.lib.indexers import livetv
    livetv.livetv().watchLiveTV(name, url)

# Start 1080p movies
elif action == '1080p':
    from resources.lib.indexers import phstreams
    phstreams.getDirectory(
        'http://zenica.watchkodi.com/Movies/1080p%20Movies.xml')
# End 1080p movies

# Start cartoons
elif action == 'cartoons':
    from resources.lib.indexers import phtoons
    phtoons.indexer().root()
elif action == 'phtoons.cartoons':
    from resources.lib.libraries import views
    from resources.lib.indexers import phtoons
    phtoons.indexer().cartoons(url)
    views.setView('movies', {'skin.confluence': 500})

elif action == 'phtoons.cartoongenres':
    from resources.lib.indexers import phtoons
    phtoons.indexer().cartoongenres()
Ejemplo n.º 3
0
Archivo: default.py Proyecto: mpie/repo
    from resources.lib.indexers import thai2
    thai2.thai().sourcePage(url, name, image)
# End thai stuff

elif action == 'liveTV':
    from resources.lib.indexers import livetv
    livetv.livetv().makelist()

elif action == 'watchLiveTV':
    from resources.lib.indexers import livetv
    livetv.livetv().watchLiveTV(name, url)

# Start 1080p movies
elif action == '1080p':
    from resources.lib.indexers import phstreams
    phstreams.getDirectory('http://zenica.watchkodi.com/Movies/1080p%20Movies.xml')
# End 1080p movies

# Start cartoons
elif action == 'cartoons':
    from resources.lib.indexers import phtoons
    phtoons.indexer().root()
elif action == 'phtoons.cartoons':
    from resources.lib.libraries import views
    from resources.lib.indexers import phtoons
    phtoons.indexer().cartoons(url)
    views.setView('movies', {'skin.confluence': 500})

elif action == 'phtoons.cartoongenres':
    from resources.lib.indexers import phtoons
    phtoons.indexer().cartoongenres()