mirror of https://gitlab.com/bashrc2/epicyon
Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main
commit
0f7f133ef3
|
|
@ -401,4 +401,10 @@ On Debian based systems you will need to have the **python3-espeak** package ins
|
|||
python3 epicyon.py --speaker yournickname@yourdomain --password [yourpassword]
|
||||
```
|
||||
|
||||
Or if you have [picospeaker](https://gitlab.com/ky1e/picospeaker) installed:
|
||||
|
||||
``` bash
|
||||
python3 epicyon.py --screenreader picospeaker --speaker yournickname@yourdomain --password [yourpassword]
|
||||
```
|
||||
|
||||
This will then stay running and incoming posts will be announced as they arrive.
|
||||
|
|
|
|||
|
|
@ -96,6 +96,10 @@ def speakerReplaceLinks(sayText: str, translate: {},
|
|||
linkedStr = translate['Linked']
|
||||
prevWord = ''
|
||||
for word in wordsList:
|
||||
if word.startswith(':'):
|
||||
if word.endswith(':'):
|
||||
replacements[word] = ', emoji ' + word.replace(':', '') + ','
|
||||
continue
|
||||
# replace mentions, but not re-tweets
|
||||
if word.startswith('@') and not prevWord.endswith('RT'):
|
||||
replacements[word] = \
|
||||
|
|
|
|||
Loading…
Reference in New Issue