2023-10-29, 00:40
Hi,
My addon is running a service.
When a user change any setting in the addon Settings, he is required to restart kodi for the settings to take effect.
1) Is there any way to restart the service with the updated setting in order to avoid a restart.
2) If there isn't, so how can I show a dialog when a user press the "Ok" button to confirm the addon's setting that will tell him to make a restart?
Thanks.
My addon is running a service.
When a user change any setting in the addon Settings, he is required to restart kodi for the settings to take effect.
1) Is there any way to restart the service with the updated setting in order to avoid a restart.
2) If there isn't, so how can I show a dialog when a user press the "Ok" button to confirm the addon's setting that will tell him to make a restart?
Thanks.