2013-05-17, 09:55
Instead of:
use:
So that XBMC signals the add-on to stop instead of waiting for it to stop, and in the end, having to kill it.
Code:
player=MyPlayer()
while(1):
xbmc.sleep(500)
use:
Code:
player=MyPlayer()
while (not xbmc.abortRequested):
xbmc.sleep(500)
So that XBMC signals the add-on to stop instead of waiting for it to stop, and in the end, having to kill it.