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
|
||||
break
|
||||
except requests.ConnectionError:
|
||||
if window('plex_terminateNow') == 'true':
|
||||
# Kodi terminated
|
||||
break
|
||||
# Server thinks its a DOS attack, ('error 10053')
|
||||
# Wait before trying again
|
||||
if sleeptime > 5:
|
||||
|
|
Loading…
Reference in a new issue