Edit Context Menu


(Sorry for my English, it’s not my native language)

It’s my first post here. I’ve been using XBMC/Kodi for a long time now, and I’ve always been able to find an anwser to my questions without having to create topics.

But this time I can’t seem to find an answer.

I’m trying to edit the context menu of Kodi because I never use the “Display Info” item, but I often use the “Play from here” item. So I would like to switch them, or at least to make “Play from there” accessible without having to click on “More”.

I tried to understand the skin.osmc/16x9/DialogContextMenu.xml file, without success for now.

Could someone help me on that ?
Thanks for your help.

Ok, I found out that the items in the Context Menu are hard-coded.

While adding items is possible with addons (http://kodi.wiki/view/Context_Item_Add-ons), removing or re-ordering them is only possible by editing Kodi source code and re-compiling.

I think I’ll ask in Kodi’s support forum for having the “Play from here” button accessible directly (without having to click on “More”.

And I will look deeper for the source code of the context menu itself (I couldn’t find it for now). If someone as info on that, please tell me :wink: