コード例 #1
0
ファイル: keyboard.py プロジェクト: zweid/flirc-xbmc-plugin
    def loadConfig(self):
        utils.log("******************* load *******************")

        filename = utils.fileBrowse(14, 'fcfg')
        if not filename:
            return

        self.timerOff()
        self.setInfoBox(utils.getString(15))
        self.sleep(INFOSECS)  #1 second
        response = self.flirc.loadConfig(filename)
        self.timerOn()
        self.setInfoBox(utils.getString(response))
        self.sleep(INFOSECS)  #1 second
コード例 #2
0
    def loadConfig(self):
        utils.log("******************* load *******************")

        filename = utils.fileBrowse(14, 'fcfg')
        if not filename:
            return

        self.timerOff()
        self.setInfoBox(utils.getString(15))
        self.sleep(INFOSECS) #1 second   
        response = self.flirc.loadConfig(filename)
        self.timerOn()        
        self.setInfoBox(utils.getString(response))
        self.sleep(INFOSECS) #1 second
コード例 #3
0
ファイル: keyboard.py プロジェクト: zweid/flirc-xbmc-plugin
    def upgradeFW(self):
        utils.log("******************* upgrade *******************")

        filename = utils.fileBrowse(10, 'bin')
        if not filename:
            return

        self.timerOff()
        self.setInfoBox(utils.getString(11))
        self.sleep(INFOSECS)  #1 second
        response = self.flirc.upgradeFW(filename)
        self.timerOn()
        self.setInfoBox(utils.getString(response))
        self.sleep(INFOSECS)  #1 second
コード例 #4
0
    def upgradeFW(self):
        utils.log("******************* upgrade *******************")


        filename = utils.fileBrowse(10, 'bin')
        if not filename:
            return

        self.timerOff()
        self.setInfoBox(utils.getString(11))
        self.sleep(INFOSECS) #1 second   
        response = self.flirc.upgradeFW(filename)
        self.timerOn()        
        self.setInfoBox(utils.getString(response))
        self.sleep(INFOSECS) #1 second