if gui == 'http://': wiz.log("[Installed Check] Guifix was set to http://", xbmc.LOGNOTICE) DIALOG.ok(ADDONTITLE, "[COLOR %s]It looks like the skin settings was not applied to the build." % COLOR2, "Sadly no gui fix was attatched to the build", "You will need to reinstall the build and make sure to do a force close[/COLOR]") elif wiz.workingURL(gui): yes=DIALOG.yesno(ADDONTITLE, '%s was not installed correctly!' % BUILDNAME, 'It looks like the skin settings was not applied to the build.', 'Would you like to apply the GuiFix?', nolabel='[B]No, Cancel[/B]', yeslabel='[B]Apply Fix[/B]') if yes: wiz.ebi("PlayMedia(plugin://%s/?mode=install&name=%s&url=gui)" % (ADDON_ID, urllib.quote_plus(BUILDNAME))); wiz.log("[Installed Check] Guifix attempting to install") else: wiz.log('[Installed Check] Guifix url working but cancelled: %s' % gui, xbmc.LOGNOTICE) else: DIALOG.ok(ADDONTITLE, "[COLOR %s]It looks like the skin settings was not applied to the build." % COLOR2, "Sadly no gui fix was attatched to the build", "You will need to reinstall the build and make sure to do a force close[/COLOR]") wiz.log('[Installed Check] Guifix url not working: %s' % gui, xbmc.LOGNOTICE) else: wiz.log('[Installed Check] Install seems to be completed correctly', xbmc.LOGNOTICE) if not wiz.getS('pvrclient') == "": wiz.toggleAddon(wiz.getS('pvrclient'), 1) wiz.ebi('StartPVRManager') wiz.addonUpdates('reset') if KEEPTRAKT == 'true': traktit.traktIt('restore', 'all'); wiz.log('[Installed Check] Restoring Trakt Data', xbmc.LOGNOTICE) if KEEPREAL == 'true': debridit.debridIt('restore', 'all'); wiz.log('[Installed Check] Restoring Real Debrid Data', xbmc.LOGNOTICE) if KEEPLOGIN == 'true': loginit.loginIt('restore', 'all'); wiz.log('[Installed Check] Restoring Login Data', xbmc.LOGNOTICE) wiz.clearS('install') else: wiz.log("[Installed Check] Not Enabled", xbmc.LOGNOTICE) if FAILED == False: wiz.log("[Build Check] Started", xbmc.LOGNOTICE) if not WORKING: wiz.log("[Build Check] Not a valid URL for Build File: %s" % BUILDFILE, xbmc.LOGNOTICE) elif BUILDCHECK == '' and BUILDNAME == '': wiz.log("[Build Check] First Run", xbmc.LOGNOTICE) checkInstalled() wiz.setS('lastbuildcheck', str(NEXTCHECK)) elif not BUILDNAME == '':
else: DIALOG.ok( ADDONTITLE, "[COLOR %s]It looks like the skin settings was not applied to the build." % COLOR2, "Sadly no gui fix was attatched to the build", "You will need to reinstall the build and make sure to do a force close[/COLOR]" ) wiz.log('[Installed Check] Guifix url not working: %s' % gui, xbmc.LOGNOTICE) else: wiz.log('[Installed Check] Install seems to be completed correctly', xbmc.LOGNOTICE) if not wiz.getS('pvrclient') == "": wiz.toggleAddon(wiz.getS('pvrclient'), 1) wiz.ebi('StartPVRManager') wiz.addonUpdates('reset') if KEEPTRAKT == 'true': traktit.traktIt('restore', 'all') wiz.log('[Installed Check] Restoring Trakt Data', xbmc.LOGNOTICE) if KEEPREAL == 'true': debridit.debridIt('restore', 'all') wiz.log('[Installed Check] Restoring Real Debrid Data', xbmc.LOGNOTICE) if KEEPLOGIN == 'true': loginit.loginIt('restore', 'all') wiz.log('[Installed Check] Restoring Login Data', xbmc.LOGNOTICE) wiz.clearS('install') else: wiz.log("[Installed Check] Not Enabled", xbmc.LOGNOTICE) if FAILED == False: wiz.log("[Build Check] Started", xbmc.LOGNOTICE)