Commit Graph

11 Commits

Author SHA1 Message Date
R. Bernstein
4e7e72a2c9 Wasn't testing CD-Text error return properly. (Bug found via rbcdio/example/cdtext.rb) 2012-04-14 22:15:26 -04:00
R. Bernstein
abe5b84295 Multilanguage CD-Text from greenleon 2012-03-05 21:22:08 -05:00
R. Bernstein
739928df7b Pete Batard's patches offset types especially for MinGW and MS Visual C. 2012-03-03 12:10:53 -05:00
R. Bernstein
8d43aaca4d Patch from Leon Merten Lohse: Correct the length of the CD-TEXT block. 2011-12-04 20:29:53 -05:00
R. Bernstein
dbf6d24765 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.
2011-11-24 20:54:40 -05:00
R. Bernstein
f215cad224 Make sure config.h or the copy of that gets included only once to reduce duplicate include
warnings.
2011-10-20 19:44:10 -04:00
R. Bernstein
9cbaad6247 Add CDIO_DISC_MODEs to correspond to updated DVD Book types. 2010-02-06 08:48:22 -05:00
R. Bernstein
7d8b6d0a4d cdio_follow_symlink -> cdio_realpath which is really POSIX realpath. (Suggestion via Thomas Schmitt.) gnu_linux.c: report errors when they occur. 2010-01-16 16:44:12 -05:00
R. Bernstein
cf882cfd20 Add ability to retrieve SCSI tuple for a name and/or fake one up. This
helps programs that want to be cd-record compatible. In particular to
parameters were added to cdio_get_arg, "scsi-tuple", and
"scsi-tuple-linux".

Code from Thomas Schmitt.
2009-12-31 18:51:50 -05:00
R. Bernstein
2522c26ec8 Adapted from patches by Nicolas Boullis on Debian:
* alignment issues on sparc
 * "make check" failure when stderr is not a tty
 * wrong program name in manpages in tarball
 * build failure with hurd
 * "make check" failure on machines with no disc drive
 * make distclean fixes
2009-07-02 20:26:39 -04:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00