How Do i Show Description ?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mikey1234 Offline
Fan
Posts: 456
Joined: Nov 2011
Reputation: 18
Post: #1
if i have (name,url,mode,iconimage) when adding a directory


is there a default name for description to show i.e (name,url,3,iconimage,description)


will that automatically put the outline of a plot under the image ??


Share
find quote
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #2
(2012-08-09 11:38)mikey1234 Wrote:  if i have (name,url,mode,iconimage) when adding a directory


is there a default name for description to show i.e (name,url,3,iconimage,description)

You can name it whatever you want there. Then you must setInfo and add the description as an infoLabel.

Code:
def addLink(name,url,description,duration,iconimage):
        ok=True
        liz=xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage)
        liz.setInfo( type="Video", infoLabels={ "Title": name, "Plot": description, "Duration": duration })
find quote
mikey1234 Offline
Fan
Posts: 456
Joined: Nov 2011
Reputation: 18
Post: #3
Thank you funnily enough i found your info on your googlecode lol

it working now
find quote