2018-10-01, 17:41
Hi All,
I'm actually developing an add-on that displays a menu items list when launched (each item execute a specific function).
One of the menu items depends on a setting: if the settings is set to true, then the item needs to be diplayed in the menu. By default the setting is set to false.
I have noticed that if I set to true the setting, the related menu item doesn't appear until I restart Kodi (using the latest nightly of Leia); in fact even if I enter in the addon, the menu items list remains the same. Just exiting and reentering Kodi solve the issue...
I guess it is something related to Kodi cache so I was wondering if there is a way to manage this.
Thanks in advance for any feedback.
Alex
I'm actually developing an add-on that displays a menu items list when launched (each item execute a specific function).
One of the menu items depends on a setting: if the settings is set to true, then the item needs to be diplayed in the menu. By default the setting is set to false.
I have noticed that if I set to true the setting, the related menu item doesn't appear until I restart Kodi (using the latest nightly of Leia); in fact even if I enter in the addon, the menu items list remains the same. Just exiting and reentering Kodi solve the issue...
I guess it is something related to Kodi cache so I was wondering if there is a way to manage this.
Thanks in advance for any feedback.
Alex