2013-05-31, 17:09
Hi everyone,
I am having a small problem. I am a newbie, developing my first addon to parse a website with foreign TV shows, and this requires me to set up information such as:
Title, Country, Rating, Year, Genre, Label2, Plot
For some very odd reason, only Genre and Plot are working for me.
But I really need it to show Country (it's like the most important information), in the description (when I press "i" on the listing). How could I do this?
Here is my code. What am I doing wrong?
So, I do:
Also, if possible -- (please help me, please tell me how can I possibly do this!) In the directory listings of the shows, I want a title and a corresponding country to be displayed neatly in two columns like so:
Thank you very much!!!!!
I am having a small problem. I am a newbie, developing my first addon to parse a website with foreign TV shows, and this requires me to set up information such as:
Title, Country, Rating, Year, Genre, Label2, Plot
For some very odd reason, only Genre and Plot are working for me.
But I really need it to show Country (it's like the most important information), in the description (when I press "i" on the listing). How could I do this?
Here is my code. What am I doing wrong?
So, I do:
Code:
liz=xbmcgui.ListItem(name, iconImage="DefaultFolder.png", thumbnailImage=iconimage)
liz.setInfo( type="Video", infoLabels={ "Title": name,
"Country" : "Japan",
"Rating" : "9.25",
"Year" : "2005"
"Genre" : "Comedy",
"label2" : "Japan"
"Plot" : "A lighthearted comedy about lonely adults in Tokyo"
"} )
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=True)
Also, if possible -- (please help me, please tell me how can I possibly do this!) In the directory listings of the shows, I want a title and a corresponding country to be displayed neatly in two columns like so:
Code:
(example)
Tokyo lovers Japan
Seoul fighters Korea
Lonely in Beijing China
Moscow Nights Russia
Tonight in Taipei Taiwan
Thank you very much!!!!!