def __init__(self, app, gui): self.log = logging.getLogger(self.__class__.__name__) BaseAction.__init__(self) self.update_list = True self.app = app self.config = app.config self.gui = gui
def __init__(self, app, gui): self.log = logging.getLogger(self.__class__.__name__) BaseAction.__init__(self) self.update_list = True self.app = app self.config = app.config self.gui = gui self.media_info = None if not os.path.isdir(self.config.get('smartmkvmerge', 'workingdir')): self.gui.message_info_box('Das in Einstellungen:Schneiden:SmartMKVmerge ' + \ 'angegebene Arbeitsverzeichnis ist nicht gültig.\n' + \ 'Es wird "/tmp" benutzt.') self.config.set('smartmkvmerge', 'workingdir', '/tmp') self.workingdir = self.config.get('smartmkvmerge', 'workingdir') self.format_dict = { "[email protected]": Format.HD, "High@L4": Format.HD, "High@L3": Format.HQ, "[email protected]": Format.HQ, "Simple@L1": Format.AVI, "[email protected]": Format.MP4 }
def __init__(self, app, gui): BaseAction.__init__(self) self.update_list = False self.__app = app self.__gui = gui
def __init__(self, app, gui): BaseAction.__init__(self) self.update_list = True self.__gui = gui