Fix starting more playqueue instances

This commit is contained in:
tomkat83 2017-03-05 17:59:56 +01:00
parent 8d2b312fcf
commit a8b7bf7871
1 changed files with 2 additions and 0 deletions

View File

@ -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