{"id":405,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=405"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"cdda-fs-guarantee-successful-lookups","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=405","title":{"rendered":"cdda-fs: Guarantee successful lookups"},"content":{"rendered":"<p><b>Update:<\/b> CDDB disabled access to all unlicensed utilities sometime in Feb. or March 2001. You&#8217;re now pretty much forced to use freedb, rather than cddb. If you&#8217;ve been telling cddblinkd to use cddb, you&#8217;ll have to remove that parameter from your cddblinkd startup line.<br \/>\nThe old tip remains for posterity.<br \/>\nWhen you mount an audio CD, its tracks appear as WAV files in the Tracker. These WAVs aren&#8217;t really WAVs, but the cdda filesystem driver makes the OS and all applications think that they are. You can play these WAVs through MediaPlayer, SoundPlay, CL-Amp, or other audio players. BeOS MP3 encoders such as <a href=\"http:\/\/www.bebits.com\/app\/94\">RipEnc<\/a> can also use cdda-fs to encode directly from CD, without ripping first. And of course you can drag audio tracks direcly off the CD and into the Tracker.<br \/>\nTo really make cdda-fs useful, run the cddblinkd daemon in the background. When cddblinkd is running, it will detect when an audio CD has been mounted, look it up in a compact disc database, and rename the CD to &#8222;Artist Name &#8211; Album Name&#8220; and all of the WAV files will be renamed with the actual track names.<br \/>\ncddblinkd can be downloaded <a href=\"ftp:\/\/ftp.be.com\/pub\/samples\/network_kit\/cddblinkd.zip\">here<\/a> (a pre-compiled cddblinkd binary is also distributed with RipEnc) . Once you have the archive, open a Terminal, enter the source directory, and type &#8222;make&#8220;. When the compile is finished, move the cddblinkd binary to <code>~\/config\/bin<\/code> and type<\/p>\n<pre>cddblinkd &amp;<\/pre>\n<p>into the Terminal. To make sure cddblinkd is always running, put the above line in your <code>~\/config\/boot\/UserBootscript<\/code>.<br \/>\nYou may find that a certain percentage of CDs aren&#8217;t looked up successfully. This is because cddblink queries only one database by default: freedb.freedb.org.<br \/>\nfreedb is cool because it doesn&#8217;t make unreasonable requirements of developers (such as the requirement that applications making use of it display the CDDB logo). Unfortunately, freedb is also much smaller than CDDB.<br \/>\nIf you want cddblink to stand a better chance of finding your CD, go back to the cddblinkd source directory, open cddblinkd.cpp in a text editor, and search on the string &#8222;freedb.freedb.org&#8220;. Edit this to read &#8222;cddb.cddb.com&#8220; and remake the binary.<br \/>\nCDDB is a much larger database, but note that it&#8217;s your responsibility to make sure the new binary follows the licensing requirements established by CDDB.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update: CDDB disabled access to all unlicensed utilities sometime in Feb. or March 2001. You&#8217;re now pretty much forced to use freedb, rather than cddb. If you&#8217;ve been telling cddblinkd to use cddb, you&#8217;ll have to remove that parameter from your cddblinkd startup line. The old tip remains for posterity. When you mount an audio [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[2],"class_list":["post-405","post","type-post","status-publish","format-standard","hentry","tag-applications"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=405"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/405\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}