Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 def close(self):
     util.stopSounds()
Exemplo n.º 4
0
 def close(self):
     util.stopSounds()