Forums: 

Hi, I've seen messages about getting ISRC code back for Tracks (like this https://developer.gracenote.com/isrc-code). 
However, I can't seem to see this data field getting returned in any queries. Should ISRC be returned for good matches by default? Or do we need to add as an extended field perhaps something like this to options?

<OPTION>
       <PARAMETER>SELECT_EXTENDED</PARAMETER>
       <VALUE>ISRC,COVER,REVIEW,ARTIST_BIOGRAPHY,ARTIST_IMAGE,ARTIST_OET,MOOD,TEMPO</VALUE>
</OPTION>

But When I do this above, I still don't get an ISRC field back in results. (Maybe wrong field name that I guessed?)
Any pointers or syntax examples as to where to find this field data?

 

Hi, You're almost correct - you need to add the "LINK" option to receive all external ID's (or "XID's") in the response, instead of "ISRC".

Let me know if that doesn't work for you.

Thanks for the tip!  I used "LINK", and do get back a Album.Track.XID property.

However, inside there are no named fields, just has (in all examples I have checked)  an array of 5 integers. Just values like "2954926", and "76273039". These integer values don't look like ISRC codes format, which are typically more like "US-S1Z-09-00001".

Where can we find the secret decoder ring to what these values are?

I don't see any reference to XID/ISRC/etc in WebAPI Reference docs  (https://developer.gracenote.com/sites/default/files/web/html/index.html#... Web API/SELECT_EXTENDED SELECT_DETAIL.html#_Toc344907272). 

 

 

 

 

To clarify what I'm seeing in the results, when specifying "LINK" in the query options, It seems that it only returns Deezer Track ID's: No sign of any other external IDs, specifically the ISRC we're hunting.

      <TRACK>
         <TRACK_NUM>1</TRACK_NUM>
         <GN_ID>40041432-009C0FF6F1645EBE29964A0E0910FEDF</GN_ID>
         <TITLE>War Pigs</TITLE>
         <XID DATASOURCE="deezer-track-id">2954926</XID>
         <XID DATASOURCE="deezer-track-id">3059400</XID>
         <XID DATASOURCE="deezer-track-id">5337740</XID>
         <XID DATASOURCE="deezer-track-id">74062527</XID>
         <XID DATASOURCE="deezer-track-id">76273039</XID>
      </TRACK>

 

or

      <TRACK>
         <TRACK_NUM>12</TRACK_NUM>
         <GN_ID>7351906-096B2D51501EA3FD0008268A99A5BABA</GN_ID>
         <TITLE>Sympathy For The Devil</TITLE>
         <XID DATASOURCE="deezer-track-id">17613879</XID>
         <XID DATASOURCE="deezer-track-id">2120687</XID>
         <XID DATASOURCE="deezer-track-id">4619092</XID>
      </TRACK>

Is there an example of this anyone has they can prod me in the right direction? Feels like either the wrong option to ask for, or a server-side permission for additional data, but I can't tell. THANKS!

 

 

 

 

Hi Adam,
Can you please send the query you are using?
Thanks!

Sure thing, here's an example what is getting sent, with LINK added:

<QUERIES>
    <AUTH>
        <CLIENT>xxxxxxxxxxx</CLIENT>
        <USER>xxxxxxxxxxx</USER>
    </AUTH>
    <QUERY CMD="ALBUM_SEARCH">
        <TEXT TYPE="ARTIST">rolling stones</TEXT><TEXT TYPE="TRACK_TITLE">sympathy for the devil</TEXT><OPTION>
          <PARAMETER>SELECT_EXTENDED</PARAMETER>
          <VALUE>COVER,REVIEW,ARTIST_BIOGRAPHY,ARTIST_IMAGE,ARTIST_OET,MOOD,TEMPO,LINK</VALUE>
      </OPTION><OPTION>
          <PARAMETER>SELECT_DETAIL</PARAMETER>
          <VALUE>GENRE:3LEVEL,MOOD:2LEVEL,TEMPO:3LEVEL,ARTIST_ORIGIN:4LEVEL,ARTIST_ERA:2LEVEL,ARTIST_TYPE:2LEVEL,LINK:3LEVEL</VALUE>
      </OPTION><OPTION>
          <PARAMETER>COVER_SIZE</PARAMETER>
          <VALUE>MEDIUM</VALUE>
      </OPTION>
    </QUERY>
</QUERIES>                  
               

 

Thanks Adam,
I used your query with my Client ID and got ISRCs, so it looks like there might be a problem with your Client ID. We'll investigate and let you know as soon as possible!

Try again now.

Booya and eureka! 

 <XID DATASOURCE="gracenote" DATATYPE="isrc">USA176810010</XID>

Whatever cable you jiggled did the trick.

Thanks Ching-Wei!  

 

UPDATE:

I'm also looking for another external ID code, and figured it made most sense to ask in this thread because it is probably related.

I have a request to get what they are calling a "G01..." number. I believe it may be a Sony Music code, but I can't get more detail on what it's actually called, just that I need to find it.  So Question: Is there a data field available from Gracenote with track-level ID values like "G01..." ??? And if so is it possible to enable this to get returned?

Thanks!

 

Hi Ching-Wei,

having the same problem as adam atlas. only getting deezer ids. no isrcs in XIDs.

Hi all,

it seems that ISRC code is not available for all tracks. May it be so? I was able to find it just in two requests out of a dozen.

Thanks a lot in advance.

Hi,
We may not have ISRC code for all tracks, that's correct. But two out of a dozen seem pretty low.
Can you tell me what artist/album/track you were searching in specific?
Thanks,

Hi, I have the same issue as the original poster. I added LINK to the first OPTIONS, and LINK:3LEVEL in the second but it does not show track ISRC's. Since I'm not sure what the solution was to this issue, I'm posting my question here

sincerely,

thomas heijmans

Hey Thomas,
Addling LINK parameter in the OPTIONS should get you ISRC in response, if ISRC is available for that track.


You do not need that additional LINK:3LEVEL (also because it's not a valid parameter). Please give it a try and let me know if you still don't see ISRC in the response.

Hello. I am having the same problem. I have even tried with the same track as Adam Atlas above but get no ISRC code. Here is the query:

<AUTH>
                    <CLIENT>xxx</CLIENT>
                    <USER>xxx</USER>
                </AUTH>
                <QUERY CMD="ALBUM_SEARCH">
                    <TEXT TYPE="ARTIST">rolling stones</TEXT><TEXT TYPE="TRACK_TITLE">sympathy for the devil</TEXT><OPTION>
                      <PARAMETER>SELECT_EXTENDED</PARAMETER>
                      <VALUE>COVER,REVIEW,ARTIST_BIOGRAPHY,ARTIST_IMAGE,ARTIST_OET,MOOD,TEMPO,LINK</VALUE>
                  </OPTION><OPTION>
                      <PARAMETER>SELECT_DETAIL</PARAMETER>
                      <VALUE>GENRE:3LEVEL,MOOD:2LEVEL,TEMPO:3LEVEL,ARTIST_ORIGIN:4LEVEL,ARTIST_ERA:2LEVEL,ARTIST_TYPE:2LEVEL</VALUE>
                  </OPTION><OPTION>
                      <PARAMETER>COVER_SIZE</PARAMETER>
                      <VALUE>MEDIUM</VALUE>
                  </OPTION>
                </QUERY>
            </QUERIES>

 

Please could you help. Thanks in advance!

Hi,
I tried with your query and your Client ID, and was able to get the ISRC from the response. Do you mind give it another try?

Hi, thanks for your reply. I had posted this on Stack Overflow and was expecting to get the reply there so I didnt see this until now.

I have run the query again and confirmed that the ISRC code is NOT present in the response. I have searched in https://isrcsearch.ifpi.org/#!/search for Rihanna, Man Down (used in the query). The correct ISRC code is 12 chars beginning with "USUV". This string is not present in the response.

Please advise.

Regards

 

Here is the query I just used:

<QUERIES>
                <AUTH>
                    <CLIENT>xxx</CLIENT>
                    <USER>xxx</USER>
                </AUTH>
                <QUERY CMD="ALBUM_SEARCH">
                    <TEXT TYPE="ARTIST">Rihanna</TEXT><TEXT TYPE="TRACK_TITLE">Man Down</TEXT><TEXT TYPE="ALBUM_TITLE">Loud</TEXT><OPTION>
                      <PARAMETER>SELECT_EXTENDED</PARAMETER>
                      <VALUE>COVER,REVIEW,ARTIST_BIOGRAPHY,ARTIST_IMAGE,ARTIST_OET,MOOD,TEMPO,LINK</VALUE>
                  </OPTION><OPTION>
                      <PARAMETER>SELECT_DETAIL</PARAMETER>
                      <VALUE>GENRE:3LEVEL,MOOD:2LEVEL,TEMPO:3LEVEL,ARTIST_ORIGIN:4LEVEL,ARTIST_ERA:2LEVEL,ARTIST_TYPE:2LEVEL</VALUE>
                  </OPTION><OPTION>
                      <PARAMETER>COVER_SIZE</PARAMETER>
                      <VALUE>MEDIUM</VALUE>
                  </OPTION>
                </QUERY>
            </QUERIES>

Hi, I used your query and your Client ID and was able to get ISRC in the response. Note, the ISRC is in the TRACK level metadata instead. It looks like this

<XID DATASOURCE="gracenote" DATATYPE="isrc">SOME_ISRC_HERE</XID>

Hi. Still no joy I'm afraid. I am using the php api (just modified to include the LINK param). The isrc is not present in the results array that is returned.

a UPC is the bar code on the physical package, but something you'd want for digital album sales as well. so if you are planning to eventually sell vinyl, cd and digital, you'd want three separate UPCs. probably not necessary if you're planning to sell them out of your trunk, but if you ever want them sold at retail (or on itunes) you'll need these . help with assignment land writing 

Forum Discussions