def doDismiss(self): if not test == True: wiz.setS("notedismiss", "true") wiz.log( "[Notification] NotifyID %s Dismissed" % wiz.getS('noteid'), xbmc.LOGNOTICE) self.close()
def doNormalInstall(self): wiz.log("[Check Updates] [Installed Version: %s] [Current Version: %s] [User Selected: Normal Install build]" % (BUILDVERSION, LATESTVERSION), xbmc.LOGNOTICE) wiz.log("[Check Updates] [Next Check: %s]" % str(NEXTCHECK), xbmc.LOGNOTICE) wiz.setS('lastbuildcheck', str(NEXTCHECK)) self.close() url = 'plugin://%s/?mode=install&name=%s&url=normal' % (ADDON_ID, urllib.quote_plus(BUILDNAME)) xbmc.executebuiltin('RunPlugin(%s)' % url)
def doRemindMeLater(self): if not test == True: wiz.setS("notedismiss", "false") wiz.log( "[Notification] NotifyID %s Remind Me Later" % wiz.getS('noteid'), xbmc.LOGNOTICE) self.close()
def doIgnore(self): wiz.log( "[Check Updates] [Installed Version: %s] [Current Version: %s] [User Selected: Ignore 3 Days]" % (BUILDVERSION, LATESTVERSION), xbmc.LOGNOTICE) wiz.log("[Check Updates] [Next Check: %s]" % str(THREEDAYS), xbmc.LOGNOTICE) wiz.setS('lastbuildcheck', str(THREEDAYS)) self.close()
def doBuildMenu(self): wiz.log( "[Check Updates] [User Selected: Open Build Menu] [Next Check: %s]" % str(NEXTCHECK), xbmc.LOGNOTICE) wiz.setS('lastbuildcheck', str(NEXTCHECK)) self.close() url = 'plugin://%s/?mode=builds' % ADDON_ID xbmc.executebuiltin('ActivateWindow(10025, "%s", return)' % url)
def onClick(self, controlId): if controlId == self.okbutton: self.close() for item in self.controllist: at = self.controllist.index(item) if self.getControl(item).isSelected(): wiz.setS(self.controlsettings[at], 'true') else: wiz.setS(self.controlsettings[at], 'false') if self.getControl(self.whitelist).isSelected() and not self.whitelistcurrent == 'true': wiz.whiteList('edit')
def doNormalInstall(self): wiz.log( "[Check Updates] [Installed Version: %s] [Current Version: %s] [User Selected: Normal Install build]" % (BUILDVERSION, LATESTVERSION), xbmc.LOGNOTICE) wiz.log("[Check Updates] [Next Check: %s]" % str(NEXTCHECK), xbmc.LOGNOTICE) wiz.setS('lastbuildcheck', str(NEXTCHECK)) self.close() url = 'plugin://%s/?mode=install&name=%s&url=normal' % ( ADDON_ID, urllib.quote_plus(BUILDNAME)) xbmc.executebuiltin('RunPlugin(%s)' % url)
def onClick(self, controlId): if controlId == self.okbutton: self.close() for item in self.controllist: at = self.controllist.index(item) if self.getControl(item).isSelected(): wiz.setS(self.controlsettings[at], 'true') else: wiz.setS(self.controlsettings[at], 'false') if self.getControl(self.whitelist).isSelected( ) and not self.whitelistcurrent == 'true': wiz.whiteList('edit')
def doIgnore(self): wiz.log("[Check Updates] [Installed Version: %s] [Current Version: %s] [User Selected: Ignore 3 Days]" % (BUILDVERSION, LATESTVERSION), xbmc.LOGNOTICE) wiz.log("[Check Updates] [Next Check: %s]" % str(THREEDAYS), xbmc.LOGNOTICE) wiz.setS('lastbuildcheck', str(THREEDAYS)) self.close()
def doDismiss(self): if not test == True: wiz.setS("notedismiss","true") wiz.log("[Notification] NotifyID %s Dismissed" % wiz.getS('noteid'), xbmc.LOGNOTICE) self.close()
def doRemindMeLater(self): if not test == True: wiz.setS("notedismiss","false") wiz.log("[Notification] NotifyID %s Remind Me Later" % wiz.getS('noteid'), xbmc.LOGNOTICE) self.close()
def doIgnore(self): self.close() wiz.log("[First Run] [User Selected: Ignore Build Menu] [Next Check: %s]" % str(NEXTCHECK), xbmc.LOGNOTICE) wiz.setS('lastbuildcheck', str(NEXTCHECK))
def doBuildMenu(self): wiz.log("[Check Updates] [User Selected: Open Build Menu] [Next Check: %s]" % str(NEXTCHECK), xbmc.LOGNOTICE) wiz.setS('lastbuildcheck', str(NEXTCHECK)) self.close() url = 'plugin://%s/?mode=builds' % ADDON_ID xbmc.executebuiltin('ActivateWindow(10025, "%s", return)' % url)
def doIgnore(self): self.close() wiz.log( "[First Run] [User Selected: Ignore Build Menu] [Next Check: %s]" % str(NEXTCHECK), xbmc.LOGNOTICE) wiz.setS('lastbuildcheck', str(NEXTCHECK))