Kodi Community Forum

Full Version: Fanart image in addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
Is it possible to somehow add fanart image in python ListItem?
If you are in every video plugin, you will get always the same video background and I am sick of it.

Code:
liz=xbmcgui.ListItem(name, iconImage="DefaultFolder.png", thumbnailImage=iconimage)
liz.setInfo( type="Video", infoLabels={ "Title": name } )
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=True)
Code:
liz.setProperty("Fanart_Image", 'PATH/TO/FANART')