planime: Use an mpv profile to get host-local TV output options instead of hardcoding...
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 9 Feb 2021 02:43:01 +0000 (03:43 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 9 Feb 2021 02:43:01 +0000 (03:43 +0100)
planime

diff --git a/planime b/planime
index 9aea34f..c53a425 100755 (executable)
--- a/planime
+++ b/planime
@@ -90,7 +90,7 @@ while getopts hdtCLA:s:fv opt; do
            debug=y
            ;;
        t)
            debug=y
            ;;
        t)
-           cmdline=("${cmdline[@]}" -audio-device 'alsa/hdmi:CARD=PCH,DEV=0')
+           cmdline=("${cmdline[@]}" -profile tv)
            DISPLAY=:1
            chwp=y
            ;;
            DISPLAY=:1
            chwp=y
            ;;