Problem trying to SetImage using an InfoLabel
#1
I'm struggling trying to get image to show on a window from an InfoLabel e.g.

Code:
self.getControl(100).setImage("$INFO[Window(Weather).Property(36Hour.1.OutlookIcon)]")

I can set the image manually (below) to the image itself and it shows fine, but not using the above code

......\\AppData\\Roaming\\XBMC\\cache\\weather\\31.png

Am I doing something wrong?

Thanks
Reply
#2
Okay. I think I might have solved the problem by using getInfoImage instead.

Code:
self.getControl(100).setImage(xbmc.getInfoImage("Window(Weather).Property(36Hour.1.OutlookIcon)"))

Not sure why, but at least it works.
Reply

Logout Mark Read Team Forum Stats Members Help
Problem trying to SetImage using an InfoLabel0