Solved xbmcgui.Dialog().contextmenu() examples?
#16
@spoyser

I tested that version, but I'm running Kodi 17, which I understand is having some issues with displaying multiple buttons on the std context menu. Will add a button to my context menu addon, thanks!

Sent from my Nexus 6
Reply
#17
(2016-04-25, 15:11)braz Wrote: @spoyser

I tested that version, but I'm running Kodi 17, which I understand is having some issues with displaying multiple buttons on the std context menu. Will add a button to my context menu addon, thanks!

Sent from my Nexus 6


If you use the install from zip it picks up the multiple items.

If you just copy the files to the correct folder it doesn't work properly.
Reply
#18
I know this thread is a bit old, but it is one of the only ones I can find. No matter what python version or Kodi version 15-17 i use i keep getting an error stating that contextmenu does not exist for Dialog.

Any thoughts?

xbmcgui.Dialog().contextmenu(list=['option1', 'option2']);
AttributeError: 'xbmcgui.Dialog' object has no attribute 'contextmenu'

I have even matched the addon versions to the ones found in this working addon.
https://github.com/phil65/script.extende.../addon.xml
Reply
#19
this functionality was added in Kodi v17, so don't bother to try it with v15/16.

if you can't get ait to work, post a Debug Log and a link to your python addon.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmcgui.Dialog().contextmenu() examples?0