2016-05-21, 08:34
Hello,
I'd like to use the context menu to list more items from my addon.
I've tried:
and
but I get handle issues -1
I've tried:
But get very weird behavior with the code above. (it seems like kodi remembers/stores the generated directory items)
Basically the addon lists posts from reddit and I'm trying to add a context menu to list the links that are in the comments.
I use xbmcplugin.addDirectoryItem to populate the comments list.
What is the proper way to call your addon to do this?
I'd like to use the context menu to list more items from my addon.
I've tried:
Code:
entries.append(("Links in comment", 'RunPlugin(plugin://plugin.video.reddit_tv/?mode=listLinksInComment&url=%s)' %site ))
Code:
entries.append( ( "Show Links", 'XBMC.RunPlugin(%s?path=plugin://plugin.video.reddit_tv/?mode=listLinksInComment&url=%s)' % ( sys.argv[0], site ) ) )
I've tried:
Code:
entries.append( ( "Links in comment", 'XBMC.ActivateWindow(Video,plugin://plugin.video.reddit_tv/?mode=listLinksInComment&url=%s)' % ( site ) ) )
Basically the addon lists posts from reddit and I'm trying to add a context menu to list the links that are in the comments.
I use xbmcplugin.addDirectoryItem to populate the comments list.
What is the proper way to call your addon to do this?