From 66f746f60b04d2572b3226d52570816865657245 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Wed, 15 Mar 2017 22:23:40 +1100 Subject: [PATCH] Work with new mpv --- identify-disc-mpv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/identify-disc-mpv b/identify-disc-mpv index 440e249..ed2f010 100755 --- a/identify-disc-mpv +++ b/identify-disc-mpv @@ -39,7 +39,7 @@ function get_highest_title { function get_length { mpv_wrap \ "$device_param" "$device_path" "${device_scheme}://${1}" \ - --term-playing-msg='TITLE_LENGTH=${length}' \ + --term-playing-msg='TITLE_LENGTH=${duration}' \ | grep 'TITLE_LENGTH' \ | head -n1 \ | cut -d'=' -f2 -- 2.39.2