Probier mal mit dem Renderer im Anhang.
In der gitversion fehlt der scale darin.
Sieht dann so aus(ganz unten, das fette rote):
Code: Alles auswählen
def changed(self, what):
if self.instance:
pngname = ""
if what[0] != self.CHANGED_CLEAR:
sname = self.source.text
pos = sname.rfind(':')
if pos != -1:
sname = sname[ :p os].rstrip(':').replace(':','_')
sname = sname.split("_http")[0]
pngname = self.nameCache.get(sname, "")
if pngname == "":
pngname = self.findPicon(sname)
if pngname == "":
fields = sname.split('_', 3)
if len(fields) > 2 and fields[2] != '2': #fallback to 1 for tv services with nonstandard servicetypes
fields[2] = '1'
if fields[0] == '4097': #fallback to 1 for IPTV streams
fields[0] = '1'
pngname = self.findPicon('_'.join(fields))
if pngname != "":
self.nameCache[sname] = pngname
if pngname == "": # no picon for service found
pngname = self.nameCache.get("default", "")
if pngname == "": # no default yet in cache..
pngname = self.findPicon("picon_default")
if pngname == "":
tmp = resolveFilename(SCOPE_CURRENT_SKIN, "picon_default.png")
if fileExists(tmp):
pngname = tmp
else:
pngname = resolveFilename(SCOPE_SKIN_IMAGE, "skin_default/picon_default.png")
self.nameCache["default"] = pngname
if self.pngname != pngname:
# added
[color=#ff0000][B]self.instance.setScale(1)[/B][/color]
self.instance.setPixmapFromFile(pngname)
self.pngname = pngname