I’m not sure if this is better-suited for the skinning sub-forum of Development, but I figured I’d start here. If it is I don’t mind it being moved at all. I’ve been building an add-on in my free time that I hope to eventually submit to the official repo (waaayyy down the road) and I’m having some trouble with getting the view I would like to display all my listitem details to show any information aside from the actual list. I’m trying to get the Media Info setup
(as found on the Video Navigation wiki page). First thing I should mention is that my addon is a program addon, not a video addon. Will that make a difference? Will that prevent me from being able to accomplish this? I use the following code to set the addon’s content-type to movies in hopes of utilizing the view
# Get the plugin url in plugin:// notation.
_url = sys.argv[0]
# Get the plugin handle as an integer number.
_handle = int(sys.argv[1])
xbmcplugin.setContent(_handle, 'movies')
Secondly, I know that layouts are dependent upon the skin the user is currently using. I’m currently using the stock Krypton skin (forget the name) and I also have Xonfluence to test with. Shouldn’t the Krypton default skin have this view? Below is what my menu is currently looks like
However, I’ve tried placing a test Date on all of the listitems to see if it would show up in the pane on the right side of the screen, but no luck.
for item in notifications:
if reasons[item['reason']] == 'show':
list_item = xbmcgui.ListItem(label=item['subject']['title'])
list_item.setInfo('date', '2017-05-22 15:39:30')
url = get_url(action='view_notification',choice=item['id'], url=item['subject']['url'])
is_folder = True
xbmcplugin.addDirectoryItem(_handle, url, list_item, is_folder)
xbmcplugin.addSortMethod(_handle, xbmcplugin.SORT_METHOD_NONE)
Do I need to do something else to make it show up on the right-hand side of the screen? I’d like to have it display the author, date, and a short summary that I’d create on the fly.