[solved] set $INFO[Player.Art(thumb)] from python
#1
It's possible to set the Player.Art(thumb) in python?
Reply
#2
+1 asked the same question a year ago... But no answer!
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply
#3
Hi, I'm not sure if it's this you are asking but I am developing a video plugin add-on and managed to do it like this:

Code:
listitem = xbmcgui.ListItem(video["title"]);
listitem.setArt({"thumb" : video["thumbnail"]});
xbmc.Player().play(video["url"], listitem);

In this case the Player Art gets set when I tell it to play the video url.

Hope this helps you.
Reply
#4
Hello! Thanks for your answer vfranchi.
I was able to do this with setThumbnail method from ListItem

Code:
opt = xbmcgui.ListItem('tmp')
opt.setThumbnailImage('path to the image')

This was used with VideoFullscreen.xml.
Reply

Logout Mark Read Team Forum Stats Members Help
[solved] set $INFO[Player.Art(thumb)] from python0