pCD has long delay before playing CD (Solved)
I am using zigbert's pCD cd player (currently using Tahr 32) and experiencing a long delay before it will start playing an audio CD.
I have a suspicion that this may be due to freedb database having gone offline earlier this year and I would like to update the pCD utility with the gnudb.org database address that fredx181 recently brought to my attention as the new database location for rippers etc.
Does anyone know where the correct config file is for pCD please? (Or is freedb.org specified within the code itself?)
cheers!
ps: /usr/local/pcd/func seems to contain code for cddb lookup but I cant see freedb.org coded in there anywhere...
EDIT : pCD seems to contain a ripping function so I am wondering if pCD relies on something already coded into cdda2wav - maybe the freedb.org address is specified somewhere outside of pCD.
It seems that freedb.org is compiled into cdda2wav but can be overwritten by the cddb-server parameter at run time.
If pCD is calling cdda2wav than maybe this parameter needs to be passed by pCD to cdda2wav. Unless there is some way to set an environmental variable permanently for cdda2wav.
Here is an example of the syntax that seems to work to get cdda2wav to access the database:
root# cdda2wav dev=/dev/sr0 cddb=0 -cddbp-server=gnudb.gnudb.org
Type: ROM, Vendor 'PLDS ' Model 'DVD+-RW DS-8A3S ' Revision 'HD12' MMC+CDDA
569344 bytes buffer memory requested, transfer size 131072 bytes, 4 buffers, 55 sectors
cdda2wav: Read TOC CD Text failed (probably not supported).
#Cdda2wav version 3.01a25_linux_3.14-inside-t2-sandbox_i686_i386, real time sched., soundcard, libparanoia support
AUDIOtrack pre-emphasis copy-permitted tracktype channels
1-33 no no audio 2
Table of Contents: total tracks:33, (total time 65:38.70)
1.( 2:28.47), 2.( 1:59.05), 3.( 1:37.73), 4.( 2:50.74), 5.( 2:40.66),
6.( 3:20.62), 7.( 3:10.05), 8.( 3:37.24), 9.( 2:24.45), 10.( 2:03.24),
11.( 1:21.28), 12.( 1:43.62), 13.( 1:57.66), 14.( 2:11.38), 15.( 2:21.32),
16.( 2:33.59), 17.( 2:02.06), 18.( 1:18.34), 19.( 1:24.20), 20.( 2:38.52),
21.( 1:00.25), 22.( 1:16.39), 23.( 1:49.52), 24.( 1:03.42), 25.( 0:55.12),
26.( 1:37.52), 27.( 1:55.67), 28.( 1:03.20), 29.( 2:05.24), 30.( 0:59.43),
31.( 1:31.40), 32.( 2:45.14), 33.( 1:48.18)
Table of Contents: starting sectors
1.( 0), 2.( 11147), 3.( 20077), 4.( 27425), 5.( 40249),
6.( 52315), 7.( 67377), 8.( 81632), 9.( 97931), 10.( 108776),
11.( 118025), 12.( 124128), 13.( 131915), 14.( 140756), 15.( 150619),
16.( 161226), 17.( 172760), 18.( 181916), 19.( 187800), 20.( 194120),
21.( 206022), 22.( 210547), 23.( 216286), 24.( 224513), 25.( 229280),
26.( 233417), 27.( 240744), 28.( 249436), 29.( 254181), 30.( 263580),
31.( 268048), 32.( 274913), 33.( 287302), lead-out( 295420)
CDINDEX discid: Y3GIcIaHjAODg0i6k6G2856KXbc-
CDDB discid: 0xea0f6221 CDDBP titles: resolved
CD-Text: not detected
CD-Extra: not detected
Album title: 'Children's TOP 100 (Disc 1 of 3)' [from Early Learning Centre]
Track 1: 'The bare necessities'
Track 2: 'Yellow bird'
Track 3: 'Humpty Dumpty'
Track 4: 'Whistle while you work'
Track 5: 'The animals went in two by two'
Track 6: 'I'd like to teach the world to sing'
Track 7: 'The owl and the pussycat'
Track 8: 'Mud, mud, glorious mud'
Track 9: 'Jimmy crack corn'
Track 10: 'Oh dear what can the matter be'
Track 11: 'Kookaburra'
Track 12: 'Girls and boys come out to play'
Track 13: 'One potato two potato'
Track 14: 'Inchworm'
Track 15: 'There was an old lady who swalloed a fly'
Track 16: 'Farmyard cabaret'
Track 17: 'Chip chop chip chop chipper chopper Joe'
Track 18: 'Hickory Dickory Dock'
Track 19: 'Five brown eggs in a nest of hay'
Track 20: 'Santa's Elves'
Track 21: 'Little Miss Muffet'
Track 22: 'I went to visit a farm one day'
Track 23: 'You can't keep a horse in a lighthouse'
Track 24: 'Daddy wouldn't buy me a bow-wow'
Track 25: 'Little Jack Horner'
Track 26: 'Brown bear's snoring'
Track 27: 'Ugly bug ball'
Track 28: 'One little cockerel'
Track 29: 'Little boxes'
Track 30: 'I'm a hippopotamus'
Track 31: 'Frog went a courtin''
Track 32: 'Day Oh!'
Track 33: 'Hot cross buns'
samplefile size will be 26217788 bytes.
recording 148.6266 seconds stereo with 16 bits @ 44100.0 Hz ->'audio'...
percent_done:
100% track 1 'The bare necessities' recorded successfully
root#