def __init__(self): # Is called on instance creation ControllerBase.__init__(self) # Default configuration self.setOption('selfcheck', NoSave(ConfigYesNo(default=False)), _("Start update check if not done yet"))
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.crashlogs = [] # Default configuration self.setOption( 'delete_logs', NoSave(ConfigYesNo( default = False )), _("Delete crashlog(s)") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.timers = [] # Default configuration self.setOption('remove_timer', NoSave(ConfigYesNo(default=False)), _("Remove finished timer(s)"))
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.timers = [] # Default configuration self.setOption( 'add_tag', NoSave(ConfigYesNo( default = False )), _("Start update check if not done yet") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.crashlogs = [] # Default configuration self.setOption( 'delete_logs', NoSave(ConfigYesNo( default = False )), _("Delete crashlog(s)") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.timers = [] # Default configuration self.setOption( 'remove_timer', NoSave(ConfigYesNo( default = False )), _("Remove finished timer(s)") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.movielist= [] # Default configuration self.setOption( 'path', NoSave(ConfigText( default = "/media/hdd/movie/", fixed_size = False )), _("Where to check") ) self.setOption( 'ext', NoSave(ConfigText( default = ".ts", fixed_size = False )), _("file extension") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.timers = [] # Default configuration self.setOption( 'remove_timer', NoSave(ConfigYesNo( default = False )), _("Remove deactivated timer(s)") ) self.setOption( 'list_similar', NoSave(ConfigYesNo( default = False )), _("List similar timer(s)") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.movielist = [] # Default configuration self.setOption("path", NoSave(ConfigText(default="/media/hdd/movie/", fixed_size=False)), _("Where to check")) self.setOption("ext", NoSave(ConfigText(default=".ts", fixed_size=False)), _("file extension"))
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.timers = [] # Default configuration self.setOption( 'remove_timer', NoSave(ConfigYesNo( default = False )), _("Remove deactivated timer(s)") ) self.setOption( 'list_similar', NoSave(ConfigYesNo( default = False )), _("List similar timer(s)") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) # Default configuration self.setOption( 'wakehdd', NoSave(ConfigYesNo( default = False )), _("Allow HDD wake up") ) self.setOption( 'path', NoSave(ConfigText( default = "/media/hdd/movie", fixed_size = False )), _("Where to check free space") ) self.setOption( 'limit', NoSave(ConfigNumber( default = 100 )), _("Free space limit in GB") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) # Default configuration self.setOption( 'send_after_bootup', NoSave(ConfigYesNo( default = False )), _("Send notification after bootup") ) self.setOption( 'send_before_shutdown', NoSave(ConfigYesNo( default = False )), _("Send notification before shutdown") ) self.setOption( 'send_before_standby', NoSave(ConfigYesNo( default = True )), _("Send notification before standby") ) self.setOption( 'send_after_standby', NoSave(ConfigYesNo( default = True )), _("Send notification after standby") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.forceBindRecordTimer = eTimer() self.forceBindRecordTimer.callback.append(self.begin) # Default configuration self.setOption( 'send_on_start', NoSave(ConfigYesNo( default = False )), _("Send notification on record start") ) self.setOption( 'send_on_end', NoSave(ConfigYesNo( default = True )), _("Send notification on record end") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.forceBindRecordTimer = eTimer() self.forceBindRecordTimer_conn = self.forceBindRecordTimer.timeout.connect(self.begin) # Default configuration self.setOption( 'send_on_start', NoSave(ConfigYesNo( default = False )), _("Send notification on record start") ) self.setOption( 'send_on_end', NoSave(ConfigYesNo( default = True )), _("Send notification on record end") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.logfiles = [] # Default configuration self.setOption( 'path', NoSave(ConfigText( default = "/media/hdd/", fixed_size = False )), _("Path to check") ) self.setOption( 'file_pattern', NoSave(ConfigText( default = "*.log", fixed_size = False )), _("Filename pattern (No RegExp)") ) self.setOption( 'content_pattern', NoSave(ConfigText( default = ".*", fixed_size = False )), _("Content pattern (RegExp)") ) self.setOption( 'scan_subs', NoSave(ConfigYesNo( default = False )), _("Scan subfolders") ) self.setOption( 'rename_logs', NoSave(ConfigYesNo( default = False )), _("Rename log(s)") ) self.setOption( 'delete_logs', NoSave(ConfigYesNo( default = False )), _("Delete log(s)") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.logfiles = [] # Default configuration self.setOption( 'path', NoSave(ConfigText( default = "/media/hdd/", fixed_size = False )), _("Path to check") ) self.setOption( 'file_pattern', NoSave(ConfigText( default = "*.log", fixed_size = False )), _("Filename pattern (No RegExp)") ) self.setOption( 'content_pattern', NoSave(ConfigText( default = ".*", fixed_size = False )), _("Content pattern (RegExp)") ) self.setOption( 'scan_subs', NoSave(ConfigYesNo( default = False )), _("Scan subfolders") ) self.setOption( 'rename_logs', NoSave(ConfigYesNo( default = False )), _("Rename log(s)") ) self.setOption( 'delete_logs', NoSave(ConfigYesNo( default = False )), _("Delete log(s)") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) self.forceBindRecordTimer = eTimer() try: self.forceBindRecordTimer_conn = self.forceBindRecordTimer.timeout.connect(self.begin) except: self.forceBindRecordTimer.callback.append(self.begin) # Default configuration self.setOption( 'send_on_start', NoSave(ConfigYesNo( default = False )), _("Send notification on record start") ) self.setOption( 'send_on_end', NoSave(ConfigYesNo( default = True )), _("Send notification on record end") ) self.setOption( 'include_description', NoSave(ConfigYesNo( default = False )), _("Include timer description") )
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) # Default configuration self.setOption('send_after_bootup', NoSave(ConfigYesNo(default=False)), _("Send notification after bootup")) self.setOption('send_before_shutdown', NoSave(ConfigYesNo(default=False)), _("Send notification before shutdown")) self.setOption('send_before_standby', NoSave(ConfigYesNo(default=True)), _("Send notification before standby")) self.setOption('send_after_standby', NoSave(ConfigYesNo(default=True)), _("Send notification after standby"))
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) # Default configuration self.setOption( 'selfcheck', NoSave(ConfigYesNo( default = False )), _("Start update check if not done yet") ) self.data = "" self.container = eConsoleAppContainer() try: self.container_dataAvail_conn = self.container.dataAvail.connect(self.dataAvail) except: self.container_dataAvail_conn = None self.container.dataAvail.append(self.dataAvail) try: self.container_appClosed_conn = self.container.appClosed.connect(self.opkgupgradableFinished) except: self.container_appClosed_conn = None self.container.appClosed.append(self.opkgupgradableFinished)
def __init__(self): # Is called on instance creation ControllerBase.__init__(self) # Default configuration self.setOption( 'selfcheck', NoSave(ConfigYesNo( default = False )), _("Start update check if not done yet") ) self.data = "" self.container = eConsoleAppContainer() try: self.container_dataAvail_conn = self.container.dataAvail.connect(self.dataAvail) except: self.container_dataAvail_conn = None self.container.dataAvail.append(self.dataAvail) try: self.container_appClosed_conn = self.container.appClosed.connect(self.opkgupgradableFinished) except: self.container_appClosed_conn = None self.container.appClosed.append(self.opkgupgradableFinished)
def __init__(self): # Is called on instance creation ControllerBase.__init__(self)