2019-04-09, 12:14
(2018-03-20, 22:03)docwra Wrote: I kept seeing this question come up with nobody really answering how they actually did it, so I wrote a wiki piece on it as its a common question.
https://kodi.wiki/view/Estuary_Modificat...Menu_Items
Hopefully that explains it all until this is possible through the GUI.
You can actually do more than that. With SSH access to your Kodi box, you can create your custom menu like this:
1. If you're on LibreELEC: copy the entire skin directory with cp -R /usr/share/kodi/addons/skin.estuary ~/.kodi/addons
2. Rename the copied directory to skin.estuary-mod, then rename the skin id and name in the 2nd line of ~/.kodi/addons/skin.estuary-mod/addon.xml accordingly
3. Make the desired view a favourite, for example you want to have a menu item for foreign language movies, so add all foreign language movies into the same movie set and make it a favourite
4. Open ~/.kodi/userdata/favorites.xml and note the ActivateWindow command including the parameters in between the (brackets), this will be the command to open your custom menu entry
5. Open ~/.kodi/addons/skin.estuary-mod/xml/Home.xml
6. Choose a menu item you do not use, for example "Games", find the string "ActivateWindow(Games)" in Home.xml
7. Rename the entry within <label>, and replace the png file within <thumb>, for example with movies.png
8. Remove visibility check within <visible> except !Skin.HasSetting, with which you can enable/disable all custom menu items
9. If you want to remove the text when moving to your new menu item, first open file strings.po in ~/.kodi/addons/skin.estuary-mod/language/resource.language.en_us, and find the string id (for "Games", this is id 31162 as per Kodi 9.0.1)
10. Open Home.xml again and find id 31162, comment out from <include content="ImageWidget"> to </include>, this will disable the text "Play your personal games..."
11. Copy the new menu item and rename the <label> and <onclick> directives, but keep property name (menu_id and id) the same as for the original games menu item
12. Reorder your menu items to your liking and reboot Kodi