2017-04-22, 19:06
Hi,
This is a move of an existing topic not put (by me) in the good forum ...
I have write a program launcher plugin (in python) adapted to a NAS environment ...
to be able to start Chrome (with URL or not, in App mode or not), firefox, any NAS HDMI interface application from Kodi ... with the specific structure of the NAS ...
All seems to work as expected (configure, run, edit, delete, etc.) with only one problem
I have some settings (boolean) ... when I change this settings (right click on addon icon or from addon menu), the setting is change (when I read the settings.xml in the addon_data of the user) ... but
If I start (execute) the addon the changed settings is not used (I have a dialog to confirm action require) ... but if I stop it and restart it ... changed settings is apply and use ...
I have not discover a sort of refresh in addon Python interface ... so I don't know why ...
Do you have any idea ... or advice to search ...
Addons is write in Python, run as well (except the small difficulty) under Kodi 17.1
Philippe.
This is a move of an existing topic not put (by me) in the good forum ...
I have write a program launcher plugin (in python) adapted to a NAS environment ...
to be able to start Chrome (with URL or not, in App mode or not), firefox, any NAS HDMI interface application from Kodi ... with the specific structure of the NAS ...
All seems to work as expected (configure, run, edit, delete, etc.) with only one problem
I have some settings (boolean) ... when I change this settings (right click on addon icon or from addon menu), the setting is change (when I read the settings.xml in the addon_data of the user) ... but
If I start (execute) the addon the changed settings is not used (I have a dialog to confirm action require) ... but if I stop it and restart it ... changed settings is apply and use ...
I have not discover a sort of refresh in addon Python interface ... so I don't know why ...
Do you have any idea ... or advice to search ...
Addons is write in Python, run as well (except the small difficulty) under Kodi 17.1
Philippe.