Exemplo n.º 1
0
 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
Exemplo n.º 2
0
    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
        }
Exemplo n.º 3
0
 def __init__(self, app, gui):
     BaseAction.__init__(self)
     self.update_list = False
     self.__app = app
     self.__gui = gui
Exemplo n.º 4
0
 def __init__(self, app, gui):
     BaseAction.__init__(self)
     self.update_list = True
     self.__gui = gui