planime: Upgrade to new mpv audio option.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 6 Apr 2018 17:42:03 +0000 (19:42 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 6 Apr 2018 17:42:03 +0000 (19:42 +0200)
planime

diff --git a/planime b/planime
index 20b651e..854ef7f 100755 (executable)
--- a/planime
+++ b/planime
@@ -88,7 +88,7 @@ while [ "${1:0:1}" = - ]; do
            debug=y
            ;;
        -t)
-           cmdline=("${cmdline[@]}" -ao 'alsa:device=[hw:3,7]')
+           cmdline=("${cmdline[@]}" -audio-device 'alsa/hdmi:CARD=PCH,DEV=0')
            DISPLAY=:1
            chwp=y
            ;;