I modified the PluginList.py a bit, that I can use Alphablend.
Now, the PluginBrowser is working perfect, but if I choose Downloading Plugins or Delete Plugins, I got a GS.
I'm a beginner in python, so don't laught about me
Can someone find, what is causing the issue?
from MenuList import MenuList from Tools.Directories import resolveFilename, SCOPE_SKIN_IMAGE from enigma import RT_HALIGN_LEFT, eListboxPythonMultiContent, gFont from Tools.LoadPixmap import LoadPixmap def PluginEntryComponent(plugin): res = [ plugin ] if plugin.icon is None: png = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "MetrixFullHD/pluginbrowser/plugin.png")) else: png = plugin.icon res.append((eListboxPythonMultiContent.TYPE_TEXT, 144, 0, 632, 42, 0, RT_HALIGN_LEFT, plugin.name)) res.append((eListboxPythonMultiContent.TYPE_TEXT, 144, 37, 632, 42, 1, RT_HALIGN_LEFT, plugin.description)) res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHABLEND, 24, 20, 100, 40, png)) return res def PluginCategoryComponent(name, png): res = [ name ] res.append((eListboxPythonMultiContent.TYPE_TEXT, 124, 0, 1116, 80, 0, RT_HALIGN_LEFT, name)) res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHABLEND, 24, 0, 80, 80, png)) return res def PluginDownloadComponent(plugin, name, version=None): res = [ name ] if plugin.icon is None: png = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "MetrixFullHD/pluginbrowser/plugin.png")) else: png = plugin.icon if version: if "+git" in version: # remove git "hash" version = "+".join(version.split("+")[:2]) elif version.startswith('experimental-'): version = version[13:] name += " (" + version + ")" res.append((eListboxPythonMultiContent.TYPE_TEXT, 124, 0, 1116, 42, 0, RT_HALIGN_LEFT, name)) res.append((eListboxPythonMultiContent.TYPE_TEXT, 124, 37, 1116, 42, 1, RT_HALIGN_LEFT, plugin.description)) res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHABLEND, 24, 0, 80, 80, png)) return res class PluginList(MenuList): def __init__(self, list, selection = 0, enableWrapAround=False): MenuList.__init__(self, list, enableWrapAround, eListboxPythonMultiContent) self.l.setFont(0, gFont("RegularSemilight", 34)) self.l.setFont(1, gFont("Regular", 30)) self.l.setItemHeight(80) self.selection = selection def postWidgetCreate(self, instance): MenuList.postWidgetCreate(self, instance) self.moveToIndex(self.selection)
greets
canymed112