Change sleeping behavior for playqueue client
This commit is contained in:
parent
543253e10e
commit
b95ab22556
1 changed files with 5 additions and 1 deletions
|
@ -206,5 +206,9 @@ class Playqueue(Thread):
|
|||
# compare old and new playqueue
|
||||
self._compare_playqueues(playqueue, kodi_playqueue)
|
||||
playqueue.old_kodi_pl = list(kodi_playqueue)
|
||||
sleep(50)
|
||||
# Still sleep a bit so Kodi does not become
|
||||
# unresponsive
|
||||
sleep(10)
|
||||
continue
|
||||
sleep(200)
|
||||
log.info("----===## PlayQueue client stopped ##===----")
|
||||
|
|
Loading…
Reference in a new issue