X-Git-Url: http://git.pippins.net/embedvideo/.git/.%24link.?a=blobdiff_plain;f=rip_dvd;h=f58a00b0a6df9b4cef9a209ba79d5ad52eba3fe0;hb=fce9af63c8b25a5b770721f2e2362a4b1cafe6b8;hp=94b96fc1290499d289da30a0f96aecc8609d6d59;hpb=074536fbd4f5c053c637cec8dbf6b436ca087371;p=rip_dvd%2F.git diff --git a/rip_dvd b/rip_dvd index 94b96fc..f58a00b 100755 --- a/rip_dvd +++ b/rip_dvd @@ -1094,7 +1094,8 @@ function get_audio_track_from_vob { # find the stream that matches our aid #stream=`grep "Stream.*\[0x$aid_hex\]" $aidcheck` - stream=`grep "scan: audio" $aidcheck | grep -n "" | grep "scan: audio 0x$aid_hex"` + #stream=`grep "scan: audio" $aidcheck | grep -n "" | grep "scan: audio 0x$aid_hex"` + stream=`grep "add_audio_to_title:" $aidcheck | grep -n "" | grep "add_audio_to_title:.* stream 0x$aid_hex"` # extract the track number that handbrake uses #track=`expr match "$stream" '.*#[0-9]\.\([0-9]*\)'`