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':
query = params.get('query') 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':
query = params.get('query') source = params.get('source') windowedtrailer = params.get('windowedtrailer') windowedtrailer = int(windowedtrailer) if windowedtrailer in ("0", "1") else 0 playAction = xbmcaddon.Addon('plugin.video.venom').getSetting('hosts.mode') autoPlay = 'true' if playAction == '2' else '' control.homeWindow.setProperty('plugin.video.venom.autoPlay', autoPlay) if action is None: from resources.lib.menus 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' if run == 'true': control.execute( 'RunPlugin(plugin://plugin.video.venom/?action=tools_cleanSettings)' ) from resources.lib.modules import changelog changelog.get() control.setSetting(id='first.info', value='false') cache.cache_version_check() navigator.Navigator().root() #################################################### #---MOVIES #################################################### elif action == 'movieNavigator': from resources.lib.menus import navigator