Forums: 

Sorry - I tried posting this on Stackoverflow and no one was answering so I thought I'd post it here.

I'm trying to work with the GraceNote web API and I'm getting unexpected results. For example, when I run a query to get the track info for Green Day/Dookie/She I get everything I'm asking for, yet if I change the album_title to AMERICAN IDIOT, I still get a response saying that 24 tracks were found and my track is #21, while there is no song titled "she" on American Idiot (so nothing should be returned). Here's a copy of my query:

<QUERIES>
<LANG>eng</LANG>
<AUTH>
<CLIENT>MyClientID</CLIENT>
<USER>MyUserID</USER>
</AUTH>
<QUERY CMD="ALBUM_SEARCH">
<MODE>SINGLE_BEST_COVER</MODE>
<TEXT TYPE="ARTIST">green day</TEXT>
<TEXT TYPE="ALBUM_TITLE">american idiot</TEXT>
<TEXT TYPE="TRACK_TITLE">she</TEXT>
<RANGE>
<START>1</START>
<END>1</END>
</RANGE>
<OPTION>
<PARAMETER>SELECT_EXTENDED</PARAMETER>
<VALUE>COVER,LINK,ARTIST_BIOGRAPHY</VALUE>
</OPTION>
<OPTION>
<PARAMETER>COVER_SIZE</PARAMETER>
<VALUE>THUMBNAIL</VALUE>
</OPTION>
</QUERY>
</QUERIES>

Can someone please explain why I get a result?

Forum Discussions