Linux Signal to addon that kodi is closing.
#1
Hi everyone.

Whether main process can send any signal to its addons before closing itself? I need make same instructions before closing my addon.
e.g.:
Code:
#main loop
while True:
  #some instructions
  if kodi.is.closing: break
xbmc.log('addon was killed'))
Reply
#2
xbmc.abortRequested module-level boolean variable is that signal.

An example of implementation: https://github.com/romanvm/kodi.yatp/blo...ver.py#L30
Reply
#3
Thanks, that's what i needed
Reply

Logout Mark Read Team Forum Stats Members Help
Signal to addon that kodi is closing.0