X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=meta-openvuplus%2Frecipes-vuplus%2Fenigma2%2Fenigma2%2Fenigma2_vuplus_pluginbrowser.patch;h=e9315f02bfd09201e89e6110bad6348a86510f49;hb=HEAD;hp=ecddf2460940f11437fb0ceb17f9000e5e6aacc6;hpb=62c6cf38a4fc3b98419de1d11e50320c2acfd453;p=vuplus_openvuplus_3.0 diff --git a/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_pluginbrowser.patch b/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_pluginbrowser.patch index ecddf24..e9315f0 100644 --- a/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_pluginbrowser.patch +++ b/meta-openvuplus/recipes-vuplus/enigma2/enigma2/enigma2_vuplus_pluginbrowser.patch @@ -1,5 +1,5 @@ diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py -index d423f46..0a029ed 100755 +index d423f46..016936f 100755 --- a/lib/python/Screens/PluginBrowser.py +++ b/lib/python/Screens/PluginBrowser.py @@ -14,6 +14,9 @@ from Tools.LoadPixmap import LoadPixmap @@ -81,7 +81,7 @@ index d423f46..0a029ed 100755 split = x[3].split('-', 1) if len(split) < 2: continue -@@ -263,4 +270,56 @@ class PluginDownloadBrowser(Screen): +@@ -263,4 +270,61 @@ class PluginDownloadBrowser(Screen): self.list = list self["list"].l.setList(list) @@ -100,7 +100,12 @@ index d423f46..0a029ed 100755 + + for feed in feeds: + Package = None -+ for line in open(os.path.join(list_dir, feed), 'r'): ++ ++ fn = os.path.join(list_dir, feed) ++ if not os.path.exists(fn): ++ continue ++ ++ for line in open(fn, 'r'): + if line.startswith("Package:"): + pkg = line.split(":", 1)[1].strip() + if pkg.startswith('enigma2-plugin-') and not pkg.endswith('-dev') and not pkg.endswith('-staticdev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-src'):