Initial announces

main
Bob Mottram 2021-03-10 10:49:45 +00:00
parent a6f0574726
commit 2a11f68845
1 changed files with 10 additions and 4 deletions

View File

@ -137,14 +137,20 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
print(screenreader + ' is not a supported TTS system')
return
print('Running ' + screenreader + ' for ' + nickname + '@' + domain)
sayStr = 'Running ' + screenreader + ' for ' + nickname + '@' + domain
_sayCommand(sayStr, screenreader,
systemLanguage, espeak)
else:
print('Running desktop notifications for ' + nickname + '@' + domain)
if notificationSounds:
print('Notification sounds on')
sayStr = 'Notification sounds on'
else:
print('Notification sounds off')
print('/q or /quit to exit')
sayStr = 'Notification sounds off'
_sayCommand(sayStr, screenreader,
systemLanguage, espeak)
sayStr = '/q or /quit to exit'
_sayCommand(sayStr, screenreader,
systemLanguage, espeak)
originalScreenReader = screenreader
domainFull = getFullDomain(domain, port)