Fix starting more playqueue instances
This commit is contained in:
parent
8d2b312fcf
commit
a8b7bf7871
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ class Playqueue(Thread):
|
|||
def __init__(self, callback=None):
|
||||
self.__dict__ = self.__shared_state
|
||||
if self.playqueues is not None:
|
||||
log.debug('Playqueue thread has already been initialized')
|
||||
Thread.__init__(self)
|
||||
return
|
||||
self.mgr = callback
|
||||
|
||||
|
|
Loading…
Reference in a new issue