Is there a way to access CDDB-type music databases with PHP?
Posted: Wed Jun 23, 2004 3:57 pm
I am designing a website for a radio station. The site currently allows users to search through a database of the station's record library. I am trying to install a barcode reader for DJ's to scan records and have a playlist updated for them automatically by cross referencing the database we have with a CDDB style database to retrieve track titles (our database only has artist name, album name, and record label name).
Freedb.org only allows you to query by DiscId (a function of the physical CD) and Gracenote's CDDB service seems to not be PHP friendly (though maybe I am wrong).
Does anyone know how to access such a service or complete such a task through PHP?
if you want to see what the site is already, it is at http://www.wbar.org
specifically the catalog relevant page is http://wbaroffice.cjb.net/searchcatalog.php
(i'm new to PHP, so I imagine a lot of the code is sloppy).
thanks in advance for any help,
dan
Freedb.org only allows you to query by DiscId (a function of the physical CD) and Gracenote's CDDB service seems to not be PHP friendly (though maybe I am wrong).
Does anyone know how to access such a service or complete such a task through PHP?
if you want to see what the site is already, it is at http://www.wbar.org
specifically the catalog relevant page is http://wbaroffice.cjb.net/searchcatalog.php
(i'm new to PHP, so I imagine a lot of the code is sloppy).
thanks in advance for any help,
dan