summaryrefslogtreecommitdiff
path: root/test/cdtext.right
diff options
context:
space:
mode:
authorR. Bernstein <rocky@gnu.org>2011-11-24 20:54:40 -0500
committerR. Bernstein <rocky@gnu.org>2011-11-24 20:54:40 -0500
commitdbf6d247650e3cae4030f53e5f79fc5d5f094d3f (patch)
tree411e7586e0cc7c28672724480ea80d9336b47961 /test/cdtext.right
parente0b2ee826da69cfabf809bcb94f3bc019276ae62 (diff)
1) cdtext objects are no longer associated with a track but with the disc.
2) - cdio_get_cdtext no longer takes track as an argument - cdtext_get, cdtext_get_const, cdtext_set require track argument 3) Language, Genre, Genre Code and Encoding Fields are now properly parsed and stored in the cdtext object 4) Added public function cdio_get_cdtext_raw to extract the binary CD-Text 5) Added CDTEXTFILE keyword logic in cue sheet parser. Parses binary/raw CD-Text files 6) Added cdtext_genre2str to convert genre code 7) altered the example programs, test drivers, cdda-player and cd-info to work with these changes 8) Added test case 9) A few smaller changes A disc either holds CD-Text for all the tracks or does not hold any. Therefore a CD-Text object for the whole disc seems more natural to me. It also enables us to store global fields, like genre, encoding, language. Patch was tested on GNU/Linux 32 bit running Gentoo.
Diffstat (limited to 'test/cdtext.right')
-rw-r--r--test/cdtext.right49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/cdtext.right b/test/cdtext.right
new file mode 100644
index 00000000..2cdc6e3d
--- /dev/null
+++ b/test/cdtext.right
@@ -0,0 +1,49 @@
+__________________________________
+
+Disc mode is listed as: CD-DA
+CD-ROM Track List (1 - 3)
+ #: MSF LSN Type Green? Copy? Channels Premphasis?
+ 1: 00:02:00 000000 audio false no 2 no
+ 2: 00:04:00 000150 audio false no 2 no
+ 3: 00:06:00 000300 audio false no 2 no
+170: 00:05:56 000281 leadout (645 KB raw, 645 KB formatted)
+Media Catalog Number (MCN): not available
+Last CD Session LSN: not supported by drive/driver
+audio status: not implemented
+__________________________________
+CD Analysis Report
+
+CD-TEXT for Disc:
+ ARRANGER: The Gnu Community
+ COMPOSER: Another Gnu
+ DISC_ID: 0815 42
+ GENRE: Animal Soundz
+ MESSAGE: Gnu lives!
+ PERFORMER: A Gnu
+ SONGWRITER: A Gnu, too
+ TITLE: The Voice of the Gnu
+ UPC_EAN: 0123456789876
+CD-TEXT for Track 1:
+ ARRANGER: His Brother
+ COMPOSER: His Brother
+ MESSAGE: Free the Gnu!
+ ISRC: DE-GNU-11-00001
+ PERFORMER: Gnu2
+ SONGWRITER: Gnu2
+ TITLE: I Will Survive
+CD-TEXT for Track 2:
+ ARRANGER: The Guy With the Microphone
+ COMPOSER: The Alpha Gnu
+ MESSAGE: Isn't it beatiful?
+ ISRC: DE-GNU-11-00002
+ PERFORMER: Those Particular Gnus
+ SONGWRITER: None in Particular
+ TITLE: A Forest Full of Gnus
+CD-TEXT for Track 3:
+ ARRANGER: An Even Less Famous Gnu
+ COMPOSER: A Not So Famous Gnu
+ MESSAGE: Every Gnu Is Legal!
+ ISRC: DE-GNU-11-00003
+ PERFORMER: Whatwasitsname?
+ SONGWRITER: A Famous Gnu
+ TITLE: Gnu Opera