title
Products            Buy            Support Forum            Professional            About            Codec Central
 

CD-TEXT bug/inconsistency

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MTWolf
    dBpoweramp Enthusiast

    • Mar 2011
    • 50

    CD-TEXT bug/inconsistency

    A Quick Note about why this is important, Broadcasters (RADIO,STREAM,TV) have to Report ISRC, UPC, Title, Artist, etc to the record companies for songs we play. The only source for ISRC is on the cd itself, and not all cd's are in the online databases (and the Freedb Submit menu item is still coming up grayed out when it shouldn't).

    We rip about 100 to 150 New Releases per month, about 30% don't have meta in the databases so we use the CD-TEXT (from what we see less that 1% of the disc we get do Not have CD-TEXT, big change is the past few years).

    So I've been seeing this Quirk show up from time to time when reading CD-Text in CD-Ripper (14 and 15.3) The First read (the automatic read that is done when no other meta is found) will sometimes mark the disc as a compilation and put the album artist as the track artist for track 1. Under the 14 series a re-read of the CD-TEXT (Meta,Retrieve From, CD-TEXT) does not change this. Under 15 a Re-read fixes the displayed track data (Album artist is correct, no longer flagged as Compilation). So I guess this count as a bug.

    Two additional notes about how CD Ripper handles CD-TEXT,
    1) it does the GENRE (pack type 0x87) WRONG. It treats it as a text record and it isn't. The first two bytes of data are the BINARY GENRE ID, and the Following 10 bytes are text (first record only, all following GENRE records are just text). This needs fixing.
    2) Since you can't have NULL Fields in the TEXT Records (Pack Type 0x80) a Null is done as a single blank. It would be nice if you trimmed the fields to get rid of this. There are some companies that just can't do CD-TEXT correctly (the don't care about the content, Vanity Pressings mostly) and they don't put an Album Title or Album Artist in (just a blank in the field). When you have to go back and type in the name you have to Remember to clear the existing blank, it leads to errors.

    A couple of last notes:
    1) it would be nice if there was a way to edit the UPC (MCN). Not all discs provide MCN data, and it would make life easier to be able to enter it on the CD-Ripper screen than have to go back and fix all the files after ripping.
    2) It would be a great short cut to be able to with one selection in the Meta,Retrieve From get the CD-TEXT, ISRC,and MCN fields. Sometimes the Database lookups return complete garbage for a disc and we have to use CLEAR METADATA to start over.

    Block of example CD-TEXT data for cd that comes up as Compilation on first read.
    (PT - PACK TYPE; E - EXTENSION; TR - TRACK NUMBER; Sq - SEQUENCE; U - UNICODE; b -BLOCK NUMBER; CP - CHARACTER POSITION; CRC not shown)
    PT E TR Sq U b CP TEXT
    80 0 00 00 0 0 00 - 53 68 6F 65 6C 61 63 65 20 52 69 6E
    80 0 00 01 0 0 12 - 67 00 31 20 4F 6E 20 61 6E 64 20 4F
    80 0 01 02 0 0 10 - 6E 00 32 20 45 63 68 6F 65 73 20 49
    80 0 02 03 0 0 10 - 6E 20 54 68 65 20 44 61 72 6B 00 33
    80 0 03 04 0 0 01 - 20 47 72 61 73 73 20 53 74 61 69 6E
    80 0 03 05 0 0 13 - 65 64 20 56 6F 6C 6C 65 79 73 00 34
    80 0 04 06 0 0 01 - 20 54 72 75 65 00 35 20 48 65 61 72
    80 0 05 07 0 0 06 - 74 20 53 6C 6F 77 6C 79 20 44 69 65
    80 0 05 08 0 0 15 - 73 00 00 00 00 00 00 00 00 00 00 00
    81 0 00 09 0 0 00 - 54 69 6E 20 53 70 61 72 72 6F 77 00
    81 0 01 10 0 0 00 - 09 00 09 00 09 00 09 00 09 00 00 00
    8F 0 00 11 0 0 00 - 00 01 05 00 09 02 00 00 00 00 00 00
    8F 0 01 12 0 0 00 - 00 00 00 00 00 00 00 03 0D 00 00 00
    8F 0 02 13 0 0 00 - 00 00 00 00 09 00 00 00 00 00 00 00

    Pack type 0x87 (Genre Identification) contains 2 binary bytes followed by NUL-byte terminated text.
    0x0000: Not Used. Sony prescribes this when no genre applies
    0x0001: Not Defined
    0x0002: Adult Contemporary
    0x0003: Alternative Rock
    0x0004: Childrens' Music
    0x0005: Classical
    0x0006: Contemporary Christian
    0x0007: Country
    0x0008: Dance
    0x0009: Easy Listening
    0x000a: Erotic
    0x000b: Folk
    0x000c: Gospel
    0x000d: Hip Hop
    0x000e: Jazz
    0x000f: Latin
    0x0010: Musical
    0x0011: New Age
    0x0012: Opera
    0x0013: Operetta
    0x0014: Pop Music
    0x0015: Rap
    0x0016: Reggae
    0x0017: Rock Music
    0x0018: Rhythm & Blues
    0x0019: Sound Effects
    0x001a: Spoken Word
    0x001b: World Music
  • Spoon
    Administrator
    • Apr 2002
    • 44509

    #2
    Re: CD-TEXT bug/inconsistency

    Thank you for your report.
    Spoon
    www.dbpoweramp.com

    Comment

    • MTWolf
      dBpoweramp Enthusiast

      • Mar 2011
      • 50

      #3
      Re: CD-TEXT bug/inconsistency

      Spoon, Another Bug In CD-Text Decoding. dbPoweramp CDRipper Maps Arranger (Pack Type $84) to Label in the output file.

      CDROM_CD_TEXT_PACK_ALBUM_NAME =$80;
      CDROM_CD_TEXT_PACK_PERFORMER =$81;
      CDROM_CD_TEXT_PACK_SONGWRITER =$82;
      CDROM_CD_TEXT_PACK_COMPOSER =$83;
      CDROM_CD_TEXT_PACK_ARRANGER =$84;
      CDROM_CD_TEXT_PACK_MESSAGES =$85;
      CDROM_CD_TEXT_PACK_DISC_ID =$86;
      CDROM_CD_TEXT_PACK_GENRE =$87;
      CDROM_CD_TEXT_PACK_TOC_INFO =$88;
      CDROM_CD_TEXT_PACK_TOC_INFO2 =$89;
      CDROM_CD_TEXT_PACK_CLOSED_INFO=$8d;
      CDROM_CD_TEXT_PACK_UPC_EAN =$8e;
      CDROM_CD_TEXT_PACK_SIZE_INFO =$8f;

      Comment

      Working...

      ]]>