diff --git a/resources/lib/library_sync/fanart.py b/resources/lib/library_sync/fanart.py index 03c8cbff..3963aead 100644 --- a/resources/lib/library_sync/fanart.py +++ b/resources/lib/library_sync/fanart.py @@ -31,7 +31,10 @@ class FanartThread(backgroundthread.KillableThread): return state.STOP_PKC def isSuspended(self): - return state.SUSPEND_LIBRARY_THREAD or state.STOP_SYNC or state.DB_SCAN + return (state.SUSPEND_LIBRARY_THREAD or + state.STOP_SYNC or + state.DB_SCAN or + state.SUSPEND_SYNC) def run(self): try: diff --git a/resources/lib/state.py b/resources/lib/state.py index 2b751629..4b0a9dd9 100644 --- a/resources/lib/state.py +++ b/resources/lib/state.py @@ -27,7 +27,7 @@ PMS_SERVER = None SUSPEND_LIBRARY_THREAD = False # Set if user decided to cancel sync STOP_SYNC = False -# Set e.g. during media playback if PKC should not do any syncs. Will NOT +# Set during media playback if PKC should not do any syncs. Will NOT # suspend synching of playstate progress SUSPEND_SYNC = False # Could we access the paths?