Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
computer:mythtv_server [2016/06/18 14:07]
tdobes
computer:mythtv_server [2016/06/18 14:52]
tdobes
Line 265: Line 265:
   * ''/​etc/​init.d/​mythtv-backend start''​   * ''/​etc/​init.d/​mythtv-backend start''​
   * ''​systemctl start kodi'',​ then configure Kodi as needed   * ''​systemctl start kodi'',​ then configure Kodi as needed
 +  * <​del>#​ web-based talker:<​code>​
 +aptitude install espeak
 +
 +echo '#​!/​bin/​sh'​ > /​usr/​local/​bin/​duck_speak.sh
 +echo >> /​usr/​local/​bin/​duck_speak.sh
 +echo '​CARD=PCH'​ >> /​usr/​local/​bin/​duck_speak.sh
 +echo '​NORM=23'​ >> /​usr/​local/​bin/​duck_speak.sh
 +echo '​DUCK=10'​ >> /​usr/​local/​bin/​duck_speak.sh
 +echo '​CONTROL=Line'​ >> /​usr/​local/​bin/​duck_speak.sh
 +echo '​DELAY=.05'​ >> /​usr/​local/​bin/​duck_speak.sh
 +echo >> /​usr/​local/​bin/​duck_speak.sh
 +echo 'for i in $(seq $NORM -1 $DUCK); do' >> /​usr/​local/​bin/​duck_speak.sh
 +echo ' ​ amixer -c$CARD -q sset $CONTROL $i' >> /​usr/​local/​bin/​duck_speak.sh
 +echo ' ​ sleep $DELAY'​ >> /​usr/​local/​bin/​duck_speak.sh
 +echo '​done'​ >> /​usr/​local/​bin/​duck_speak.sh
 +echo >> /​usr/​local/​bin/​duck_speak.sh
 +echo '​ALSA_CARD=$CARD espeak -s 140 "​$@"​ 2>/​dev/​null'​ >> /​usr/​local/​bin/​duck_speak.sh
 +echo >> /​usr/​local/​bin/​duck_speak.sh
 +echo 'for i in $(seq $DUCK $NORM); do' >> /​usr/​local/​bin/​duck_speak.sh
 +echo ' ​ amixer -c$CARD -q sset $CONTROL $i' >> /​usr/​local/​bin/​duck_speak.sh
 +echo ' ​ sleep $DELAY'​ >> /​usr/​local/​bin/​duck_speak.sh
 +echo '​done'​ >> /​usr/​local/​bin/​duck_speak.sh
 +chmod +x /​usr/​local/​bin/​duck_speak.sh
 +
 +adduser www-data audio
 +</​code></​del>​
computer/mythtv_server.txt · Last modified: 2016/06/18 15:11 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS