In addition, there is a bug with xbmc.abortRequested if Youtube-DL is called from a Python add-on that use the reuselanguageinvoker feature ; in this case, xbmc.abortRequested always return True even if Kodi is not exiting.
Conclusion: Youtube-DL is completely broken on Video add-on that use reuselanguageinvoker because we always get a Exception('abortRequested')
xbmc.abortRequested
is deprecated and we should usexbmc.Monitor().abortRequested()
now (see: https://kodi.wiki/view/Service_add-ons).In addition, there is a bug with
xbmc.abortRequested
if Youtube-DL is called from a Python add-on that use thereuselanguageinvoker
feature ; in this case,xbmc.abortRequested
always returnTrue
even if Kodi is not exiting.Conclusion: Youtube-DL is completely broken on Video add-on that use
reuselanguageinvoker
because we always get aException('abortRequested')