« Not quite right | Main | Wang Dang Doodle »

Compilations and Complications

If you've looked at Ant Tracks lately, you should be noticing a higher success rate with matching up the album info to something in the Amazon database.

You can tell when no succesful match is found -- the album artwork is a generic Ant, and the links are Google-searches instead of links to the Amazon sell-page. Hopefully these will become fewer and fewer over time, although you'll always have situations where the album is just not available on Amazon (like Miranda Sound's Engaged in Labor) or is out-of-print altogether (like the Bottle Rocket's The Brooklyn Side, which is a shame by the way.)

Anyway, I've been making some very minor adjustments the past few days: the goal is to reconcile some of the CDDB data-formatting quirks with the way that Amazon marks up albums. Basically this involves regular expressions, string comparisons, ignoring a lot of ( )s and [ ]s... But it's coming along.

I even have a volunteer to start beta-testing Ant Tracks on their site, so my next moves will be to get these scripts ready for multi-user use. (Right now they're semi-hardwired to my blog and site.) Another thing that's been bugging me is the poor handling of Soundtracks and Various Artist compilations. I have a feeling that using the Amazon APIs Keyword Search, instead of the Artist Search, is probably the solution to that problem.

And soon I'll be starting a new Change-Blog that'll track the details of my ongoing tweaks. Because I know you're fascinated. (Next up: Trading Cards)

Comments (1)

Hm. I've still got some work to do -- since I made the logic for matching a CDDB and Amazon title 'fuzzier' I'm not getting weird results like the 'Clean' version of the Eminem Show. I get the search results back from Amazon sorted by Sales Rank, and just assumed that this would be pretty safe. I wonder if sales rank is 'sales per day' or cumulative? If it's tracked per day, I suppose I could see the odd day where the censored version outpaces the Explicit version.

Ah well, onward and upward...

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


This page contains a single entry from the blog posted on July 3, 2003 2:03 AM.

The previous post in this blog was Not quite right.

The next post in this blog is Wang Dang Doodle.

Many more can be found on the main index page or by looking through the archives.


Subscribe to feed Subscribe to my feed
Powered by FeedBurner
Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.33