Suspend fanart sync during playback
This commit is contained in:
parent
c168981a5b
commit
789b214b50
2 changed files with 5 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue