ContextMenu example for existing video section
#1
I am newbe to programming addons for kodi.
Please tell me how to implement adding a item to context menu in existing standard kodi video section (not in new plugin) with an arbitrary item, when clicked, the corresponding function would be executed, which would simply display "hello world"?

Existing section mean: videos - Files - SomeFolderWithVideo - VideoFile.mp4 (like on screen)
Image

To menu
- play
- mark as watched
.....
- rename

i'm need add new item like "test hello world"

How do that?

What the plugin must be?
What "Extension point", "provides" element, other nuances must be?
Reply
#2
The wiki has a sample tutorial for adding a context menu item:

https://kodi.wiki/view/Context_Item_Add-ons

It's part of a larger tutorial:

https://kodi.wiki/view/Add-on_development

I'm also a newbie, and not everything in the tutorial is super clear, but between that and looking at some actual add-ons, it's a start.
Maintaining a few add-ons for v18 including PseudoTV (Classic), Tag Overview, and Autosub: https://github.com/fnord12
Reply

Logout Mark Read Team Forum Stats Members Help
ContextMenu example for existing video section0