Corrected precedence of media catalog and ISRC options

This commit is contained in:
Thomas Schmitt 2011-12-30 17:44:19 +00:00
parent f1ae493c57
commit ce29b4b38c
3 changed files with 18 additions and 11 deletions

View File

@ -508,9 +508,9 @@ cdrskin currently supports TRACK datatypes AUDIO and MODE1/2048 which may
not be mixed. It ignores commands POSTGAP, PREGAP, and FLAGS. Only INDEX 01 not be mixed. It ignores commands POSTGAP, PREGAP, and FLAGS. Only INDEX 01
is interpreted yet. Data source may be of FILE type BINARY or MOTOROLA. is interpreted yet. Data source may be of FILE type BINARY or MOTOROLA.
.br .br
Cue sheet file commands CATALOG and ISRC override options mcn= and isrc=. Cue sheet file commands CATALOG and ISRC may be overridden by option mcn=
They may be overridden by input_sheet_v07t= purpose specifiers "UPC / EAN" and by input_sheet_v07t= purpose specifiers "UPC / EAN" and "ISRC".
and "ISRC". This does not affect their appearance in CD-TEXT, but only on Q sub-channel.
.TP .TP
.BI \-dao .BI \-dao
Alias for option -sao. Write CD in Session at Once mode Alias for option -sao. Write CD in Session at Once mode
@ -636,6 +636,8 @@ Set the ISRC for the next track source to the given text, which must be exactly
CC is the country code. OOO is the owner code. Both may consist of capital CC is the country code. OOO is the owner code. Both may consist of capital
letters A to Z and of decimal digits 0 to 9. YY depicts the year (00 to 99). letters A to Z and of decimal digits 0 to 9. YY depicts the year (00 to 99).
SSSSS is the serial number (00000 to 99999). SSSSS is the serial number (00000 to 99999).
.br
This option does not affect CD-TEXT but only the Q sub-channel.
.TP .TP
.BI -load .BI -load
Load the media and exit. Exit value is 0 if any kind of media was found, non Load the media and exit. Exit value is 0 if any kind of media was found, non
@ -652,6 +654,8 @@ and normally enable the drive's eject button when they are done.
.BI mcn= text .BI mcn= text
Set the CD Media Catalog Number to text, which must be exactly 13 characters Set the CD Media Catalog Number to text, which must be exactly 13 characters
long and should consist of decimal digits. long and should consist of decimal digits.
.br
This option does not affect CD-TEXT but only the Q sub-channel.
.TP .TP
.BI minbuf= percentage .BI minbuf= percentage
Equivalent to: Equivalent to:
@ -1157,8 +1161,9 @@ See libburn's doc/cdtext.txt for a detailed definition of 0.7T and the
possible values for Text Code, Language Code, Genre Code, Text Data Copy possible values for Text Code, Language Code, Genre Code, Text Data Copy
Protection. Protection.
.br .br
Purpose specifiers "UPC / EAN" and "ISRC" override options mcn= and isrc= The Q sub-channel settings by "UPC / EAN" and "ISRC" may be overridden by
and the cuefile= commands CATALOG and ISRC. options mcn= and isrc=. This will not affect their appearance as CD-TEXT.
They may override cuefile= commands CATALOG and ISRC in the same way.
.br .br
If options -text cuefile= are given and if the cue sheet file defines CD-TEXT, If options -text cuefile= are given and if the cue sheet file defines CD-TEXT,
then only seven input_sheet_v07t= options may be given. They will then be then only seven input_sheet_v07t= options may be given. They will then be

View File

@ -1677,11 +1677,6 @@ int Cdrtrack_add_to_session(struct CdrtracK *track, int trackno,
(track->track_type==BURN_AUDIO && track->swap_audio_bytes)); (track->track_type==BURN_AUDIO && track->swap_audio_bytes));
if(!(track->cdxa_conversion & (1 << 31))) if(!(track->cdxa_conversion & (1 << 31)))
burn_track_set_cdxa_conv(tr, track->cdxa_conversion & 0x7fffffff); burn_track_set_cdxa_conv(tr, track->cdxa_conversion & 0x7fffffff);
if(track->isrc[0]) {
ret= burn_track_set_isrc_string(tr, track->isrc, 0);
if(ret <= 0)
goto ex;
}
fixed_size= track->fixed_size; fixed_size= track->fixed_size;
if((flag&2) && track->padding>0) { if((flag&2) && track->padding>0) {
@ -6739,6 +6734,13 @@ burn_failed:;
skin->fixed_size+= size+padding; skin->fixed_size+= size+padding;
else else
skin->has_open_ended_track= 1; skin->has_open_ended_track= 1;
if(skin->tracklist[i]->isrc[0] &&
skin->tracklist[i]->libburn_track != NULL) {
ret= burn_track_set_isrc_string(skin->tracklist[i]->libburn_track,
skin->tracklist[i]->isrc, 0);
if(ret <= 0)
goto ex;
}
} }
o= burn_write_opts_new(drive); o= burn_write_opts_new(drive);

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.12.30.164755" #define Cdrskin_timestamP "2011.12.30.174416"