diff options
author | kos <kos@dev3> | 2012-12-28 09:35:43 (GMT) |
---|---|---|
committer | kos <kos@dev3> | 2012-12-28 09:35:43 (GMT) |
commit | 9c61ef962a49286adb01c908b40b96aca7204bcd (patch) | |
tree | d2949484e33e4ca75d0e3b2bafa0cabffd0ed0d6 | |
parent | 9ce8fd9a12c7690e047c93b899107dd84e706b4c (diff) |
add missing file.
-rw-r--r-- | meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_pluginbrowser.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_pluginbrowser.patch b/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_pluginbrowser.patch new file mode 100644 index 0000000..25ebe95 --- /dev/null +++ b/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_pluginbrowser.patch @@ -0,0 +1,29 @@ +diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py +index d423f46..359552e 100755 +--- a/lib/python/Screens/PluginBrowser.py ++++ b/lib/python/Screens/PluginBrowser.py +@@ -220,8 +220,8 @@ class PluginDownloadBrowser(Screen): + self.remainingdata = "" + + for x in lines: +- plugin = x.split(" - ") +- if len(plugin) >= 2: ++ plugin = x.split(" - ", 2) ++ if len(plugin) == 3: + if self.run == 1 and self.type == self.DOWNLOAD: + if plugin[0] not in self.installedplugins: + self.installedplugins.append(plugin[0]) +@@ -239,13 +239,6 @@ class PluginDownloadBrowser(Screen): + + self.plugins = {} + for x in self.pluginlist: +- if len(x) < 4: +- split = x[0].split('-',3) +- if not self.plugins.has_key(split[2]): +- self.plugins[split[2]] = [] +- self.plugins[split[2]].append((PluginDescriptor(name = x[2], description = " ", icon = verticallineIcon), split[3])) +- continue +- + split = x[3].split('-', 1) + if len(split) < 2: + continue |