planime: Changed TV configuration.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 19 Dec 2014 22:19:10 +0000 (23:19 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 19 Dec 2014 22:19:10 +0000 (23:19 +0100)
planime

diff --git a/planime b/planime
index 27b3eac..51646b7 100755 (executable)
--- a/planime
+++ b/planime
@@ -87,7 +87,9 @@ while [ "${1:0:1}" = - ]; do
            debug=y
            ;;
        -t)
-           cmdline=("${cmdline[@]}" -ao oss:/dev/dsp1)
+           cmdline=("${cmdline[@]}" -ao alsa:device=hw=3.7)
+           DISPLAY=:1
+           chwp=y
            ;;
        -C)
            pretend=y
@@ -247,8 +249,6 @@ elif [ -n "$sid" ]; then
     cmdline=("${cmdline[@]}" -sid "$sid")
 fi
 
-if [ "`hostname`" = pc6 -o "`hostname`" = pc7 -a "$DISPLAY" = :1 ]; then chwp=y; fi
-
 if [ -n "$pretend" ]; then
     echo "${cmdline[@]}" "$file"
 elif [ -n "$printfile" ]; then