From: Fredrik Tolf Date: Fri, 19 Dec 2014 22:19:10 +0000 (+0100) Subject: planime: Changed TV configuration. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=2236570527575f095d9ca8862acecccbea65ca14;p=utils.git planime: Changed TV configuration. --- diff --git a/planime b/planime index 27b3eac..51646b7 100755 --- 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