Shutdown artwork thread correctly

This commit is contained in:
tomkat83 2017-01-24 20:12:46 +01:00
parent f3c5ecf9ae
commit 74433f7afd

View file

@ -212,6 +212,9 @@ class Image_Cache_Thread(Thread):
# download. All is well # download. All is well
break break
except requests.ConnectionError: except requests.ConnectionError:
if window('plex_terminateNow') == 'true':
# Kodi terminated
break
# Server thinks its a DOS attack, ('error 10053') # Server thinks its a DOS attack, ('error 10053')
# Wait before trying again # Wait before trying again
if sleeptime > 5: if sleeptime > 5: