Пример #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)
Пример #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)
Пример #3
0
 def close(self):
     util.stopSounds()
Пример #4
0
 def close(self):
     util.stopSounds()