2017-03-27, 22:57
(2017-03-17, 20:33)BobCratchett Wrote:(2017-03-17, 17:46)axlt2002 Wrote: Thanks for your feedback Bob.
I have actually created a copy of the Estuary skin to be modified and set it as the skin to be used.
The modifications are the ones reported in my previous post. Looking at some other mods, it seems that they are good...just don't work.
Please find hereafter two debug logs as you suggested: the first one is related to the creation of a new menu item called "first trial"...the second is related to restart Kodi...but the changes in the menu are not displayed.
Hope you can help me. Thanks in advance.
OK, the first log shows that the changes you make to the menu are saving correctly. The second log shows that the menu is being rebuilt and the script-skinshortcuts-includes.xml file written without issue.
Next things to check:
Make sure that the item you're adding to the menu doesn't have any automatic visibility conditions added to it, or that the conditions are met. For example, a link to the movies library node won't be visible if there aren't actually movies in your library. Skin Shortcuts Docs: Automatic Visibility Conditions
Then it's a case of checking that you're importing the script-skinshortcuts-includes.xml file and <include />'ing the menu correctly. If you've got the skin on git, give a link to the source and I'll take a quick look to see that it's correct.
Hi Bob,
I had finally time to make some further trials. You were right, there was the automatic visibility condition preventing the item to be displayed. Now everything is ok.
For the time being I'm satisfied. Next step will be the widgets integration...