Hi.
I've been trying, with partial success, to show information using the skins DialogVideoInfo.xml window by calling it from a modal class as opposed to from the Contextmenu 'Movie Information'.
All I can get it to show is the infolabel of 'title' in two places and an image, it ignores the Plot, PlotOutline and Date information I've setup in a ListItem.
test video plugin from http://pastebin.com/m7a45c9cf
This test plugin, sets up a small plugin list, from which you can either;
a) Highlight item, then ContextMenu 'Movie Information' - Shows all test data ok
b) Select item - It calls a small class to show DialogVideoInfo.xml after loading a ListItem and setInfo's - but plot etc not shown.
Is there something I have to set inorder to get it to load information from the ListItem I've created ?
I'm trying to do it this way so the user can just select the item, without the need to go throu the ContextMenu. If would also mean the Plugin wouldnt have to live in Video plugin section just to get the correct Contextmenu item to show up.
Any help appreciated.
Thanks
BBB
Manually get info into skin video Dialog
BigBellyBilly
Skilled Python Coder Posts: 959 Joined: Feb 2005 Reputation: 2 Location: UK |
2009-03-20 19:30
Post: #1
My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net |
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2009-03-20 23:37
Post: #2
what i did was just use the builting XBMC.Action(Info)
|
| find quote |
BigBellyBilly
Skilled Python Coder Posts: 959 Joined: Feb 2005 Reputation: 2 Location: UK |
2009-03-21 00:11
Post: #3
I can see you've added it to the ContextMenu, which is still a little indirect, but could that xbmc.action be called as a builtin *somehow* , maybe like this: ?
li=xbmcgui.ListItem( title, updated, image, image ) li.setInfo( "video", { "Title": title, "Date": updated[:10], "Director": author, "Plot": content, "Plotoutline": content} ) xbmc.executebuiltin("XBMC.Action(info)") Is it a builtin, I've not got upto date docs with me and wiki doesnt mention it My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net |
| find quote |
Waffa
Posting Freak Posts: 1,163 Joined: May 2008 Reputation: 7 Location: Netherlands |
2009-03-21 00:21
Post: #4
Here I can play with Action IDs
Thanks for the hint. |
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2009-03-21 02:56
Post: #5
no it's a builting.
yes a built-in.better yet just set the listitems path to XBMC.Action(Info). the listitem now takes an optional path. |
| find quote |

yes a built-in.
Search
Help