projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix to use remove plugin without Softwaremangager plugin.
[vuplus_dvbapp]
/
lib
/
python
/
Screens
/
PluginBrowser.py
diff --git
a/lib/python/Screens/PluginBrowser.py
b/lib/python/Screens/PluginBrowser.py
index
69bf80f
..
49df843
100755
(executable)
--- 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:
self.remainingdata = ""
for x in lines:
- plugin = x.split(" - "
, 2
)
- if len(plugin)
== 3
:
+ plugin = x.split(" - ")
+ if len(plugin)
>= 2
:
if self.run == 1 and self.type == self.DOWNLOAD:
if plugin[0] not in self.installedplugins:
self.installedplugins.append(plugin[0])
if self.run == 1 and self.type == self.DOWNLOAD:
if plugin[0] not in self.installedplugins:
self.installedplugins.append(plugin[0])
@@
-239,6
+239,13
@@
class PluginDownloadBrowser(Screen):
self.plugins = {}
for x in self.pluginlist:
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
split = x[3].split('-', 1)
if len(split) < 2:
continue
@@
-256,4
+263,4
@@
class PluginDownloadBrowser(Screen):
self.list = list
self["list"].l.setList(list)
self.list = list
self["list"].l.setList(list)
-language.addCallback(languageChanged)
\ No newline at end of file
+language.addCallback(languageChanged)