Add cdtext display to cd-info and adjust regression tests accordingly.

cd-read.c: don't try to print null strings.
This commit is contained in:
rocky
2004-07-16 21:29:24 +00:00
parent 03db2d51c5
commit ca69284de2
7 changed files with 89 additions and 42 deletions

View File

@@ -30,3 +30,5 @@ Media Catalog Number (MCN): 123456789ABCD
__________________________________
CD Analysis Report
Audio CD, CDDB disc ID is 02000701
CD-TEXT info:

View File

@@ -30,3 +30,7 @@ Media Catalog Number (MCN): not available
__________________________________
CD Analysis Report
Audio CD, CDDB disc ID is 02000401
CD-TEXT info:
PERFORMER: Richard Stallman
TITLE: Join us now we have the software

View File

@@ -1,4 +1,11 @@
// $Id: cdda.toc,v 1.1 2004/05/04 03:27:11 rocky Exp $
// $Id: cdda.toc,v 1.2 2004/07/16 21:29:35 rocky Exp $
// Language number should always start with 0
LANGUAGE 0 {
// Required fields - at least all CD-TEXT CDs I've seen so far have them.
TITLE "Join us now we have the software"
PERFORMER "Richard Stallman"
}
CD_DA
TRACK AUDIO