Пример #1
0
 def doDismiss(self):
     if not test == True:
         wiz.setS("notedismiss", "true")
     wiz.log(
         "[Notification] NotifyID %s Dismissed" % wiz.getS('noteid'),
         xbmc.LOGNOTICE)
     self.close()
Пример #2
0
		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)
Пример #3
0
 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()
Пример #4
0
 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()
Пример #5
0
 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)
Пример #6
0
		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')
Пример #7
0
 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)
Пример #8
0
        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')
Пример #9
0
		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()
Пример #10
0
		def doDismiss(self):
			if not test == True:
				wiz.setS("notedismiss","true")
			wiz.log("[Notification] NotifyID %s Dismissed" % wiz.getS('noteid'), xbmc.LOGNOTICE)
			self.close()
Пример #11
0
		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()
Пример #12
0
		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))
Пример #13
0
		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)
Пример #14
0
 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))