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)
		notify.firstRunSettings()
		xbmc.sleep(500)
		notify.firstRun()
		xbmc.sleep(500)
		wiz.setS('lastbuildcheck', str(NEXTCHECK))
	elif not BUILDNAME == '':
예제 #2
0
                    % 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 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)
        notify.firstRun()
        wiz.setS('lastbuildcheck', str(NEXTCHECK))
    elif not BUILDNAME == '':
예제 #3
0
		failed = True
		if gui == 'http://':
			wiz.log("[Installed Check] Guifix was set to http://")
			DIALOG.ok(ADDONTITLE, "It looks like the skin settings was not applied to the build.", "Sadly no gui fix was attatched to the build", "You will need to reinstall the build and make sure to do a force close")
		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='No Thanks!', yeslabel='Yes Please!')
			if yes: xbmc.executebuiltin("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)
		else:
			DIALOG.ok(ADDONTITLE, "It looks like the skin settings was not applied to the build.", "Sadly no gui fix was attatched to the build", "You will need to reinstall the build and make sure to do a force close")
			wiz.log('[Installed Check] Guifix url not working: %s' % gui)
	else:
		wiz.log('[Installed Check] Install seems to be completed correctly')
	if KEEPTRAKT == 'true': traktit.traktIt('restore', 'all'); wiz.log('[Installed Check] Restoring Trakt Data')
	if KEEPREAL  == 'true': debridit.debridIt('restore', 'all'); wiz.log('[Installed Check] Restoring Real Debrid Data')
	if KEEPLOGIN == 'true': loginit.loginIt('restore', 'all'); wiz.log('[Installed Check] Restoring Login Data')
	wiz.clearS('install')
else: wiz.log("[Installed Check] Not Enabled")

if failed == False:
	wiz.log("[Build Check] Started")
	if not WORKING:
		wiz.log("[Build Check] Not a valid URL for Build File: %s" % BUILDFILE)
	elif BUILDCHECK == '' and BUILDNAME == '':
		wiz.log("[Build Check] First Run")
		notify.firstRun()
		wiz.setS('lastbuildcheck', str(NEXTCHECK))
	elif not BUILDNAME == '':
		wiz.log("[Build Check] Build Installed")
		if SKIN in ['skin.confluence', 'skin.estuary'] and not DEFAULTIGNORE == 'true':
			checkSkin()