Esempio n. 1
0
source = params.get('source')

content = params.get('content')

windowedtrailer = params.get('windowedtrailer')
windowedtrailer = int(windowedtrailer) if windowedtrailer in ("0", "1") else 0

if action == None:
    from resources.lib.indexers import navigator
    from resources.lib.modules import cache
    run = control.setting('first.info')
    if run == '': run = 'true'  #clean install scenerio
    if cache._find_cache_version():
        run = 'true'  #check whether script.module.exdodus has been updated
    if cache._find_cache_versionAlt():
        run = 'true'  #check whether plugin.video.exdodus has been updated.  Added function to script.module.exdodus/lib/resources/modules/cache - def _find_cache_versionAlt()
    if run == 'true':
        navigator.navigator().news()
        control.setSetting(id='first.info', value='false')
    cache.cache_version_check()
    navigator.navigator().root()

elif action == 'newsNavigator':
    from resources.lib.indexers import navigator
    navigator.navigator().news()
#    navigator.navigator().news_local()

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








if action == None:
    from resources.lib.indexers import navigator
    from resources.lib.modules import cache
    run = control.setting('first.info')
    if run == '': run = 'true' #clean install scenerio
    if cache._find_cache_version(): run = 'true'  #check whether script.module.exdodus has been updated
    if cache._find_cache_versionAlt(): run = 'true' #check whether plugin.video.exdodus has been updated.  Added function to script.module.exdodus/lib/resources/modules/cache - def _find_cache_versionAlt()
    if run == 'true':
        navigator.navigator().news()
        control.setSetting(id='first.info', value='false')
    cache.cache_version_check()
    navigator.navigator().root()








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