diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 48aff1c5..fe478a31 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2012.01.08.132304" +#define Cdrskin_timestamP "2012.01.08.140810" diff --git a/libburn/trunk/libburn/libburn.h b/libburn/trunk/libburn/libburn.h index 322a47a0..26a0791b 100644 --- a/libburn/trunk/libburn/libburn.h +++ b/libburn/trunk/libburn/libburn.h @@ -1947,6 +1947,17 @@ int burn_session_remove_track(struct burn_session *s, struct burn_track *t); int burn_session_set_start_tno(struct burn_session *session, int tno, int flag); +/* ts B20108 */ +/** Inquire the CD track start number, as set by default ot by + burn_session_set_start_tno(). + @param session The session to be inquired + @return > 0 is the currently set CD track start number + <= 0 indicates failure + @since 1.2.0 +*/ +int burn_session_get_start_tno(struct burn_session *session, int flag); + + /* ts B11206 */ /** Set the Character Codes, the Copyright bytes, and the Language Codes @@ -2165,8 +2176,11 @@ int burn_session_get_cdtext(struct burn_session *s, int block, /** Read a Sony CD-TEXT Input Sheet Version 0.7T file and attach its text attributes to the given session and its tracks for the given CD-TEXT block number. This overrides previous settings made by - burn_session_set_cdtext() and burn_track_set_cdtext(). It can later be - overridden by said function calls. + burn_session_set_cdtext(), burn_track_set_cdtext(), burn_track_set_isrc(), + burn_session_set_start_tno(). It can later be overridden by said function + calls. + The media catalog number from purpose specifier "UPC / EAN" gets into + effect only if burn_write_opts_set_has_mediacatalog() is set to 0. The format of a v07t sheet file is documented in doc/cdtext.txt. @param s Session where to attach CD-TEXT attributes @param path Local filesystem address of the sheet file which diff --git a/libburn/trunk/libburn/libburn.ver b/libburn/trunk/libburn/libburn.ver index f6af88dc..26e438be 100644 --- a/libburn/trunk/libburn/libburn.ver +++ b/libburn/trunk/libburn/libburn.ver @@ -123,6 +123,7 @@ burn_session_get_cdtext_par; burn_session_get_hidefirst; burn_session_get_leadout_entry; burn_session_get_sectors; +burn_session_get_start_tno; burn_session_get_tracks; burn_session_hide_first_track; burn_session_input_sheet_v07t; diff --git a/libburn/trunk/libburn/structure.c b/libburn/trunk/libburn/structure.c index 0291793c..f4bedf7c 100644 --- a/libburn/trunk/libburn/structure.c +++ b/libburn/trunk/libburn/structure.c @@ -785,6 +785,13 @@ int burn_session_set_start_tno(struct burn_session *session, int tno, int flag) } +/* ts B20108 API */ +int burn_session_get_start_tno(struct burn_session *session, int flag) +{ + return (int) session->firsttrack; +} + + struct burn_cdtext *burn_cdtext_create(void) { struct burn_cdtext *t;