def __init__(self): self.readerOn = True self.stop = False self.disable = False self.noticeQueue = Queue.Queue() self.initState() self._tts = None self.backendProvider = None util.stopSounds() #To kill sounds we may have started before an update util.playSound('on') self.playerStatus = playerstatus.PlayerStatus(10115).init() self.bgProgress = backgroundprogress.BackgroundProgress(10151).init() self.noticeDialog = notice.NoticeDialog(10107).init() self.initTTS() util.LOG('SERVICE STARTED :: Interval: %sms' % self.tts.interval)
def close(self): util.stopSounds()