From: James Bunton Date: Wed, 15 Mar 2017 11:23:40 +0000 (+1100) Subject: Work with new mpv X-Git-Url: https://code.delx.au/transcoding/commitdiff_plain/66f746f60b04d2572b3226d52570816865657245 Work with new mpv --- 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