Fix starting more playqueue instances

This commit is contained in:
tomkat83 2017-03-05 17:59:56 +01:00
parent 8d2b312fcf
commit a8b7bf7871

View file

@ -33,6 +33,8 @@ class Playqueue(Thread):
def __init__(self, callback=None): def __init__(self, callback=None):
self.__dict__ = self.__shared_state self.__dict__ = self.__shared_state
if self.playqueues is not None: if self.playqueues is not None:
log.debug('Playqueue thread has already been initialized')
Thread.__init__(self)
return return
self.mgr = callback self.mgr = callback