Hi,
Basically, I have a service script that I need to detect if it's running or not.
Therefore, I need something I can set - which is always reset when XBMC starts.
Was thinking of using:
xbmc.executebuiltin("Skin.SetBool(script_running)")
inside the service.
Then, in my other script checking if this was set.
But, result = xbmc.executebuiltin('Skin.HasSetting(script_running)') always returns None
The service will also be shutdown unexpectedly, so it doesn't know when it closes.
Thanks,
Matt
Basically, I have a service script that I need to detect if it's running or not.
Therefore, I need something I can set - which is always reset when XBMC starts.
Was thinking of using:
xbmc.executebuiltin("Skin.SetBool(script_running)")
inside the service.
Then, in my other script checking if this was set.
But, result = xbmc.executebuiltin('Skin.HasSetting(script_running)') always returns None
The service will also be shutdown unexpectedly, so it doesn't know when it closes.
Thanks,
Matt