Forums » Bugs & Problems Search

Updates to Echoprint song/identify API bug?! New Reply

Author Post
Posts: 35
Registered: Dec 18, 2011

As this link say: http://echoprint.me/post/20475922191/updates-to-echoprint-song-identify-api It has been fixed a bug that should improve matching accuracy and cut down on the number of “no results” false negatives whereby the server was erroneously returning a response of the following form:

{"response": {"status": {"version": "4.2", "code": 0, "message": "Success"}, "songs": []}

But I'm still having problem with any .mp3 that I Upload. I get always this kind of response. <code><pre> http://developer.echonest.com/api/v4/song/identify?api_key=My Api Key &code=eJzFl12SJSuOhLeE-NdyQEj7X8J8RI_d7C6zIR_K2qYevDLj5CFAcrk7Kcmu6QGmL4jygJzGC8ReUPsLZn2BxQPKeILWF3h_QE3xgtxeUP0Fvbxg-gNany9Y8YKjD-ipvCCfB4jNF7x59VfMaS94M2flF2x7wS_MmS-g1g-w8YBWygve3PiL7svJL_j_6q_7A0ouL9DxgCr5BUVf0NYL3tOd1wvOC37p4FP5_4varvoCyy_4pb_zBbpeYOcBddgDWlovaPaC9wy-Nfa0F8R5wF918G96JOMFePADtDzgF3d-T-gv_ntecOIBv3X_Nb9_5aF5vOBvJvTd364v-CV9jQfU3V_g-QEt7Re8PXT2FzznV2y_IPIDfpvQ8YK_0NhfZvCX_r4mtOzzgF8m9D1lf6PAf9Hf3xz2Pb_1AVnOC2p7AQx4wLW7_xv-RturvODNjXd-fnNjzAe8-nta2UWayGjSdSxPu2TxYeq579pm67HqWt-nvWXtTeeoOa15etYZ33e_P_EqZlGyne2R179W3qXH9w2r03av7jlYtMrce8usI2xMqcZym0yep_Xsu_DfatlK1Fj7SCTvEfvsVU_hSL20UayLtZKHrBJeKdNZkgZvX3No6ysfK6eKVn7w-PJC2fe2Ofs6GjuOu_bKLl2S1UCQMosP9T1wvRE57s21Wq_sIUxP1hbfxr8KfdUovR5vUpqWs-YyjelfrabJOb0O6lc116-S-Ry30kr0soZuO2XtkLpyiWJLk2rxVXaNumfwanUO7jaXLOP1XX0cH_w6tE-rJXjRTKI-XRpnHHnP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owyzLDXz5W3lPUvq38g1Q9rPyFCMdYPC1YVro5T78lTdGCI9DHO0qU1sd1eoLhhA7bFMdNFebmHALKe2QR7l7KPv0lTfLVxLVaaQo7IaQiiKOsi4tGGocAR1obTLkXF9c2JIUrNtsZsyk-dUmtP3eEZjDgywKSaczzAT9NonH6HFaTHJDWrhMcXNhQ3P2dkMh5FxcKsZt60hOeiUcUxzzG8c32Vfzv8FXvz-e_cD_ABs-h7s= {"response": {"status": {"version": "4.2", "code": 0, "message": "Success"}, "songs": []}}</code></pre>

On the contrary, using the fingerprinting of ENMFP, it works properly. <code><pre> http://developer.echonest.com/api/v4/song/identify?api_key=My API KEY&code=eJwtkwmyJCEIRK9ULKIex437H-E_eqajI6vMkkQS_L7fTxagB7B68wG0gh7AcGAWLAV2Qe39zgNuwat1AlJfpPREERArcFQkEJBOrIyCqf_TykJAdsGp2FvwSiAB_YhVKdACQ0UbsRoFvc5dB9X5A1S09HSfKqjglspjjyZgX0HpmSJljorFDwizXjAIs1mwy5GNgN0KexWWgNepvFTciPVWpsUPEPBS8RLwRayf2nfJ5iXgyVujsK8Jok3rrVRaOdwasS1O-c_mNmtLVdR2LUuqlVR7RAQHAfgaWmCEhRe0giB59IKBSixio1TiVFipRPWtPPy61BsjYN-lxn5F38Hs_E73vb-r4SaXNJFzQrKmacD7WEfy7KNIyT5Y8PfObEgYa0npr42alTdbzjDRtNX6szd9nzetf7kapO57ICXyrOycJdtO3d-WzBtpz_X0TLkjJ6Sc6AHJLHSZd5ST854w1TMg7dkZNbJ2cqQq5_gQqfwthx2evi_k_HhqynD1OtycIZDfnS9aXYFj0eekxPJoyhzU_R1Ki9CfD9Q7h0T8qxf9yTyKG7pskdlwkUp8RHOj3nUh9ek9kHq_PTa9yM6C7ka3--gFKebBiPRjkFhtF5IQ2Sfdrq8Lqb6yQX6J5r6ufdkJX-I-30iR0ZtAkifkuuMrCqPbOZm_PCMN0to6Com1N_Y3bF78bkvpNpMgfBqMwDW6Y5B0l5oOZ6PbkFh2agT0w0dIe9gByV1P7CDvjgFp55J2cenR6bnhOzoX_-HPgg-BlNW7TvzXF7N4XvdcHYfpT7k3-6E_epjtloJFxNzJ0WQ-7kviNzNi7dqt87Z1O3eQOaE-SOodgLVaa_lwnTXzgg_c04WlkORbE1L36icWpY31Jm3utA9S3550aXCP9nr90vjO8fYf-HlZtA== ongs": [{"score": 46, "title": "Losing My Religion", "message": "OK (match type 6)", "artist_id": "ARR6LWJ1187FB44C8B", "artist_name": "R.E.M.", "id": "SOAOTJD12A6D4F8826"}]}}</code></pre>

Suggestions?

Posts: 138
Registered: Feb 07, 2012

Radosky,

Can you please check that you have include a parameter of the form "&version=4.12" in your Echoprint query? This is what identifies the query as an Echoprint one as opposed to an ENMFP one.

Thanks,

Andrew

Posts: 35
Registered: Dec 18, 2011

Oh god, yesss with"&version=4.12" it works! Thank very much!

Posts: 35
Registered: Dec 18, 2011

Look at this:

Using the form that you gave me: "&version=4.12" I get a completely wrong response:

<code><pre>http://developer.echonest.com/api/v4/song/identify?api_key=My API Key&code=eJwtU4uxBCEIa0lQPpaDKP2X8MK-u5nLugFiRHaM_x___mMmYDXIAmhzHoDtgGjuNHTGuI2FHCIsiD9YDQjQRBktlJEgQtqcNbQUtRSdDmRzr7nKnwumDx6ga1l7ZdDjdsEO5OjA6Yrbq9vcgxcuKM_vLISK2SVzNSdQma0yW2CeTjnNXZTN1ykFqdWbL2lQJC9vbiNvRcNpLht63_UaqvvVPRHGq3QTRbGH7A5Ev34tTWwkhYASVsofQFQFetoVarDRi6G7o21Se6NuAQAy1j2KrTtXzCQOCWOGhxWbNXyD7IQI3IUjOxR5xpQjuF5RuuHcp04aBb-KenTh95zH-5hIMOKh96IJgfg-kyeajWaxprdOxNgH5KoIZ0UdzYcd44TmKuhFPJCWJhr9lCYpDE9MQaXua0k3ZoGcnKZeSVV5QKJLVoUxikd2q8YMPi410ZDn8eZEUs6ghfExkOIybFL7UJCsBR_i8L0PfOBm058W-jCg277Rh1njECFkOA_ngm83nAekm9LrQ6bSdaNjbCCJRG_uRDOWyGlqxCUZC1eafNgejc7D9ZTjKtfC3YJ8TASSdpo7pvGRGkgMx3SBHsG3P6J1Bnzj_Fc48X1kkMk6c9dhlzupnj2QDw2rXZ_eofb96X2-707a9fkee6vhORFT2ZiRhYK9UYeD4wPrOEge3vGES4z73izXl4K0t6FIzLwr5FKkO87D5npAUpz9QI4ijWc-A6MmcabZCy8aWvdiRHB_dMp63nB_Wn-fBSAS&version=4.12 {"response": {"status": {"version": "4.2", "code": 0, "message": "Success"}, "songs": [{"score": 2, "title": "Pinback-New Song1(Live)", "message": "OK (match type 6)", "artist_id": "ARTJC9U1187FB47EBB", "artist_name": "Pinback", "id": "SOHSKAZ12B0B809148"}]}}</code></pre>

Without the version at the end I get a Correct response:

</ode><pre>http://developer.echonest.com/api/v4/song/identify?api_key=My API Key&code=eJwtU4uxBCEIa0lQPpaDKP2X8MK-u5nLugFiRHaM_x___mMmYDXIAmhzHoDtgGjuNHTGuI2FHCIsiD9YDQjQRBktlJEgQtqcNbQUtRSdDmRzr7nKnwumDx6ga1l7ZdDjdsEO5OjA6Yrbq9vcgxcuKM_vLISK2SVzNSdQma0yW2CeTjnNXZTN1ykFqdWbL2lQJC9vbiNvRcNpLht63_UaqvvVPRHGq3QTRbGH7A5Ev34tTWwkhYASVsofQFQFetoVarDRi6G7o21Se6NuAQAy1j2KrTtXzCQOCWOGhxWbNXyD7IQI3IUjOxR5xpQjuF5RuuHcp04aBb-KenTh95zH-5hIMOKh96IJgfg-kyeajWaxprdOxNgH5KoIZ0UdzYcd44TmKuhFPJCWJhr9lCYpDE9MQaXua0k3ZoGcnKZeSVV5QKJLVoUxikd2q8YMPi410ZDn8eZEUs6ghfExkOIybFL7UJCsBR_i8L0PfOBm058W-jCg277Rh1njECFkOA_ngm83nAekm9LrQ6bSdaNjbCCJRG_uRDOWyGlqxCUZC1eafNgejc7D9ZTjKtfC3YJ8TASSdpo7pvGRGkgMx3SBHsG3P6J1Bnzj_Fc48X1kkMk6c9dhlzupnj2QDw2rXZ_eofb96X2-707a9fkee6vhORFT2ZiRhYK9UYeD4wPrOEge3vGES4z73izXl4K0t6FIzLwr5FKkO87D5npAUpz9QI4ijWc-A6MmcabZCy8aWvdiRHB_dMp63nB_Wn-fBSAS {"response": {"status": {"version": "4.2", "code": 0, "message": "Success"}, "songs": [{"score": 27, "title": "Is Anyone Up", "message": "OK (match type 8)", "artist_id": "ARLPTUF12B3B3528F0", "artist_name": "Eskimo Callboy", "id": "SOHKOOR137289F3EF6"}]}}</code></pre>

Do you have an idea why works like this?

I just want to mention that this is the only song with Echoprint code that worked out without using the "&version=4.12" at the and of the query, all the other trial gave me only the classic Response {"response": {"status": {"version": "4.2", "code": 0, "message": "Success"}, "songs": []} Thank you once again.

Posts: 138
Registered: Feb 07, 2012

Firstly, let's check that you are associating the different codegens with the version appropriately:

ENMFP codegen => "&version=3.15" in the query (or you can equivalently leave it out altogether)

Echoprint codegen => "&version=4.12" in the query (not optional)

ENMFP and Echoprint are completely different fingerprinting systems; their fingperprints are not interchangeable in any way whatsoever.

For more information about this sort of thing please check out the Echoprint FAQ.

Andrew

Reply to this Thread

You must log in to post a reply.