Shutdown artwork thread correctly
This commit is contained in:
parent
f3c5ecf9ae
commit
74433f7afd
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue