Skip to content

Use more CD-Text info #27

@poddmo

Description

@poddmo

Currently, abcde can use CD-Text info to generate CDDB template like this:

DTITLE=Various Artists / WHERE WERE YOU 1967
DYEAR=
DGENRE=
TTITLE0=On A Carousel
TTITLE1=To sir with love
TTITLE2=There's A Kind Of Hush
TTITLE3=The Days Of Pearly Spencer
TTITLE4=Heroes and Villains

notice that the artists are not identified on each track. The info is on the CD and captured to disk by abcde:

~/Music/abcde.fe0b8712/data-cdtext$ cat cd-text
Type: ROM, Vendor 'PLDS    ' Model 'DVD-RW DH16AESH ' Revision '3L32' MMC+CDDA
569344 bytes buffer memory requested, 4 buffers, 55 sectors
#icedax version 1.1.11, real time sched., soundcard, libparanoia support
CDINDEX discid: WW32ughG2HEeFfyG_aQDvn0YBZ8-
CDDB discid: 0xfe0b8712
CD-Text: detected
CD-Extra: not detected
Album title: 'WHERE WERE YOU 1967'      [from Various Artists]
Track  1: 'On A Carousel'                               [from The Hollies]
Track  2: 'To sir with love'                            [from Lulu]
Track  3: 'There's A Kind Of Hush'                      [from Hermans Hermits]
Track  4: 'The Days Of Pearly Spencer'                  [from David McWilliams]
Track  5: 'Heroes and Villains'                         [from The Beach Boys]

Derived from this command:

~/Music$ icedax -J -v titles -D /dev/sr0
Type: ROM, Vendor 'PLDS    ' Model 'DVD-RW DH16AESH ' Revision '3L32' MMC+CDDA
569344 bytes buffer memory requested, 4 buffers, 55 sectors
#icedax version 1.1.11, real time sched., soundcard, libparanoia support
CDINDEX discid: WW32ughG2HEeFfyG_aQDvn0YBZ8-
CDDB discid: 0xfe0b8712
CD-Text: detected
CD-Extra: not detected
Album title: 'WHERE WERE YOU 1967'      [from Various Artists]
Track  1: 'On A Carousel'                               [from The Hollies]
Track  2: 'To sir with love'                            [from Lulu]
Track  3: 'There's A Kind Of Hush'                      [from Hermans Hermits]
Track  4: 'The Days Of Pearly Spencer'                  [from David McWilliams]
Track  5: 'Heroes and Villains'                         [from The Beach Boys]

Beyond that, there is more CD info that we can use for tags to give richer metadata, including ISRC and ISO9660 filesystem directory if it exists, eg:

~/Music/abcde.fe0b8712/data-cdtext$ cd-info --no-device-info
cd-info version 2.1.0 x86_64-pc-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
CD location   : /dev/cdrom
CD driver name: GNU/Linux
   access mode: IOCTL

__________________________________

Disc mode is listed as: CD-DA
CD-ROM Track List (1 - 18)
  #: MSF       LSN    Type   Green? Copy? Channels Premphasis?
  1: 00:02:00  000000 audio  true   yes   2        no
  2: 03:17:68  014693 audio  true   yes   2        no
  3: 06:05:60  027285 audio  false  no    2        no
  4: 08:40:50  038900 audio  true   yes   2        no
  5: 11:17:28  050653 audio  true   yes   2        no
  6: 14:55:52  067027 audio  true   yes   2        no
  7: 17:38:14  079214 audio  true   yes   2        no
  8: 20:04:03  090153 audio  true   yes   2        no
  9: 22:26:39  100839 audio  true   yes   2        no
 10: 24:24:41  109691 audio  true   yes   2        no
 11: 27:17:40  122665 audio  true   yes   2        no
 12: 29:55:35  134510 audio  true   yes   2        no
 13: 34:10:11  153611 audio  true   yes   2        no
 14: 36:49:00  165525 audio  true   yes   2        no
 15: 38:54:34  174934 audio  true   yes   2        no
 16: 41:14:00  185400 audio  true   yes   2        no
 17: 44:30:19  200119 audio  true   yes   2        no
 18: 47:16:62  212612 audio  true   yes   2        no
170: 49:13:13  221338 leadout (496 MB raw, 496 MB formatted)
Media Catalog Number (MCN):
TRACK  1 ISRC: GBGYU0300047
TRACK  2 ISRC: GBAYE6700110
TRACK  3 ISRC: GBAYE0300668
TRACK  4 ISRC: GBAYE6700125
TRACK  5 ISRC: USCA20100307
TRACK  6 ISRC: AUMB10600005
TRACK  7 ISRC: GBAYE6700054
TRACK  8 ISRC: GBAYE6600138
TRACK  9 ISRC: AUEMO6700006
TRACK 10 ISRC: GBAYE6700089
TRACK 11 ISRC: USCA26700181
TRACK 12 ISRC: USCN18900028
TRACK 13 ISRC: AUEM06700003
TRACK 14 ISRC: GBAYE0701627
TRACK 15 ISRC: GBAYE6600112
TRACK 16 ISRC: AUEM06700001
TRACK 17 ISRC: USEM38800163
TRACK 18 ISRC: USCA20001697
Last CD Session LSN: 0
audio status: invalid
__________________________________
CD Analysis Report

Language 0 'English':
CD-TEXT for Disc:
        TITLE: WHERE WERE YOU 1967
        PERFORMER: Various Artists
CD-TEXT for Track  1:
        TITLE: On A Carousel
        PERFORMER: The Hollies
CD-TEXT for Track  2:
        TITLE: To sir with love
        PERFORMER: Lulu
CD-TEXT for Track  3:
        TITLE: There's A Kind Of Hush
        PERFORMER: Hermans Hermits
CD-TEXT for Track  4:
        TITLE: The Days Of Pearly Spencer
        PERFORMER: David McWilliams
CD-TEXT for Track  5:
        TITLE: Heroes and Villains
        PERFORMER: The Beach Boys
CD-TEXT for Track  6:
        TITLE: Living In A Childs Dream
        PERFORMER: The Masters Apprentices
CD-TEXT for Track  7:
        TITLE: Little Games
        PERFORMER: The Yardbirds
CD-TEXT for Track  8:
        TITLE: I've Been A Bad Bad Boy
        PERFORMER: Paul Jones
CD-TEXT for Track  9:
        TITLE: Whats Wrong With The Way I Live
        PERFORMER: The Twilights
CD-TEXT for Track 10:
        TITLE: Hi Ho Silver Lining
        PERFORMER: Jeff Beck
CD-TEXT for Track 11:
        TITLE: Different Drum
        PERFORMER: The Stone Ponies
CD-TEXT for Track 12:
        TITLE: Ode To BIllie Joe
        PERFORMER: Bobbie Gentry
CD-TEXT for Track 13:
        TITLE: What Am I Doing Here With You
        PERFORMER: Bev Harrell
CD-TEXT for Track 14:
        TITLE: Ding Dong The Witch Is Dead
        PERFORMER: The Fifth Estate
CD-TEXT for Track 15:
        TITLE: Georgy Girl
        PERFORMER: The Seekers
CD-TEXT for Track 16:
        TITLE: Sadie The Cleaning Lady
        PERFORMER: Johnny Farnham
CD-TEXT for Track 17:
        TITLE: It Must Be Him
        PERFORMER: Vicki Carr
CD-TEXT for Track 18:
        TITLE: Big Spender
        PERFORMER: Shirley Bassy

New audio CDs these days have CD-Text but I haven't seen enhanced CD (ie data content) from a new CD in a long time, because computers don't have optical drives to use it.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions