Fanart image in addon

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Tomas Offline
Junior Member
Posts: 10
Joined: Jul 2012
Reputation: 0
Post: #1
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)
find quote
divingmule Offline
Skilled Python Coder
Posts: 1,297
Joined: Oct 2008
Reputation: 61
Post: #2
Code:
liz.setProperty("Fanart_Image", 'PATH/TO/FANART')
find quote