Nein. Kann man doch alles in einer Funktion handeln. Ich geb' dir mal ein aktuelles Beispiel:
Code
def getWDSettings(self):
self.maxIdleTime = int(re.match('\d+', __addon__.getSetting('maxIdleTime')).group())*60
self.action = int(__addon__.getSetting('action')) + LANGOFFSET
self.notifyUser = True if __addon__.getSetting('showPopup').upper() == 'TRUE' else False
self.notificationTime = int(re.match('\d+', __addon__.getSetting('notificationTime')).group())
self.testConfig = True if __addon__.getSetting('testConfig').upper() == 'TRUE' else False
self.sendCEC = True if __addon__.getSetting('sendCEC').upper() == 'TRUE' else False
self.jumpMainMenu = True if __addon__.getSetting('mainmenu').upper() == 'TRUE' else False
self.keepAlive = True if __addon__.getSetting('keepalive').upper() == 'TRUE' else False
self.addon_id = __addon__.getSetting('addon_id')