Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computer:mythtv_server [2016/06/18 14:07]
tdobes
computer:mythtv_server [2016/06/18 15:11]
tdobes
Line 229: Line 229:
 After=mnt-videos.mount'​ >> /​etc/​systemd/​system/​mythfrontend.service.d/​depend-on-nfs-mount.conf After=mnt-videos.mount'​ >> /​etc/​systemd/​system/​mythfrontend.service.d/​depend-on-nfs-mount.conf
 Requires=mnt-videos.mount'​ >> /​etc/​systemd/​system/​mythfrontend.service.d/​depend-on-nfs-mount.conf Requires=mnt-videos.mount'​ >> /​etc/​systemd/​system/​mythfrontend.service.d/​depend-on-nfs-mount.conf
-sed -i -e '​s/​^iface eth0 inet dhcp$/&​\n ​ post-up systemctl start mythtv-backend.service\n ​ post-up systemctl start kodi.service/​g'​ /​etc/​network/​interfaces+sed -i -e '​s/​^iface eth0 inet dhcp$/&​\n ​ post-up systemctl start mythtv-backend.service\n  ​#post-up systemctl start kodi.service\n ​ post-up systemctl start mythfrontend.service/​g'​ /​etc/​network/​interfaces
 </​code>​ </​code>​
   * ''​systemctl start startx@williams''​   * ''​systemctl start startx@williams''​
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