cd-info: Use libvcdinfo if it is around to list out general Video CD

properties (format version, album description, preparer id, volume
number and count). cd-info output changed slightly.
This commit is contained in:
rocky
2003-04-26 14:24:44 +00:00
parent 4bb6abc003
commit 65e6cf33ca
18 changed files with 117 additions and 30 deletions

View File

@@ -1,9 +1,13 @@
#!/bin/sh
#$Id: check_cue.sh.in,v 1.1 2003/04/22 12:09:09 rocky Exp $
#$Id: check_cue.sh.in,v 1.2 2003/04/26 14:24:45 rocky Exp $
if test -n "@CDDB_LIB@" ; then
cddb_opt='--no-cddb'
fi
if test -n "@VCD_LIB@" ; then
vcd_opt='--no-vcd'
fi
if test -z $srcdir ; then
srcdir=`pwd`
fi
@@ -33,7 +37,7 @@ fi
fname=vcd_demo
testnum='Video CD'
if test -f ${srcdir}/${fname}.cue ; then
test_cdinfo "-c ${srcdir}/vcd_demo.cue" \
test_cdinfo "-c ${srcdir}/vcd_demo.cue $vcd_opt" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cdinfo CUE test $testnum"
@@ -44,7 +48,7 @@ fi
fname=svcd_ogt_test_ntsc
testnum='Super Video CD'
if test -f ${srcdir}/${fname}.bin ; then
test_cdinfo "--cue-file ${srcdir}/${fname}.cue" \
test_cdinfo "--cue-file ${srcdir}/${fname}.cue $vcd_opt" \
${fname}.dump ${srcdir}/${fname}.right
RC=$?
check_result $RC "cdinfo CUE test $testnum"