コード例 #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
ファイル: busydialog.py プロジェクト: km-p/service.xbmc.tts
 def close(self):
     util.stopSounds()
コード例 #4
0
 def close(self):
     util.stopSounds()