import enigma2-plugin-extensions-mediaportal 2020062102 v2020062102
authorChristian Weiske <cweiske@cweiske.de>
Mon, 22 Jun 2020 23:15:24 +0000 (01:15 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 22 Jun 2020 23:15:24 +0000 (01:15 +0200)
usr/lib/enigma2/python/Plugins/Extensions/MediaPortal/plugin.py
usr/lib/enigma2/python/Plugins/Extensions/MediaPortal/resources/config.py

index 43cd625..f3ed329 100644 (file)
@@ -109,7 +109,7 @@ config_mp.mediaportal = ConfigSubsection()
 config_mp.mediaportal.fake_entry = NoSave(ConfigNothing())
 
 # Allgemein
-config_mp.mediaportal.version = NoSave(ConfigText(default="2020062101"))
+config_mp.mediaportal.version = NoSave(ConfigText(default="2020062102"))
 config_mp.mediaportal.autoupdate = ConfigYesNo(default = True)
 
 config_mp.mediaportal.skinfail = ConfigYesNo(default = False)
@@ -1363,7 +1363,6 @@ class MPGrid(Screen, HelpableScreen):
                self.pornscreen = None
                self.par1 = ""
                self.par2 = ""
-               self.hit_plugin(auswahl)
 
                conf = xml.etree.cElementTree.parse(CONFIG)
                for x in conf.getroot():
@@ -1450,6 +1449,7 @@ class MPGrid(Screen, HelpableScreen):
                                        self.session.open(self.pornscreen, self.par1)
                                else:
                                        self.session.open(self.pornscreen, self.par1, self.par2)
+               self.hit_plugin(auswahl)
 
        def pincheckok(self, pincode):
                if pincode:
index 4e9454c..0e83f20 100644 (file)
@@ -82,7 +82,7 @@ class Config(ConfigSubsection):
                                        configEntry = eval(name)
                                        if configEntry is not None:
                                                configEntry.value = val
-                               except (SyntaxError, KeyError):
+                               except (SyntaxError, AttributeError):
                                        pass
                if "config_mp" in tree:
                        try: