2013-08-18, 09:03
I'm trying to show the movie information window (WINDOW_VIDEO_INFO id 12003) in my addon but I cannot find how I'm able to fill the window with information.
I would prefer to do this by creating a listitem and fill this with all the necessary movie information, is this possible?
I've also tried using the setProperty method but that doesn't seem to work either.
Here's my code (it will show the movie information window but it's empty, there's no information about the movie):
Any help is appreciated.
I would prefer to do this by creating a listitem and fill this with all the necessary movie information, is this possible?
I've also tried using the setProperty method but that doesn't seem to work either.
Here's my code (it will show the movie information window but it's empty, there's no information about the movie):
PHP Code:
listItem = xbmcgui.ListItem("Skyfall")
infoLabels = { "Title": "Skyfall","Genre": "Action","Year": 2012,"Director": "Who knows"}
listItem.setInfo(type="Video", infoLabels=infoLabels)
xbmc.ListItem=listItem
MOVIE = xbmcgui.Window(12003)
MOVIE.setProperty("title","Skyfall")
MOVIE.setProperty("Genre","Action")
MOVIE.setProperty("Plot","This is the scary plot...")
MOVIE.show()
Any help is appreciated.