You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is a bug or a "feature" of the Echonest API. Sometimes when I fetch a list of biographies for an artist I only get back 7 or 8 words followed by an ellipses, it looks as if the biography has been truncated in length. This only occurs on some artists, not all.
A good example is Lipps Inc. Using their biography example from the documentation:
"biographies": [{"text": "Lipps, Inc. (pronounced like \"lip sync\") was a studio pop/rnb band formed in 1979 in Minneapolis, Minnesota, USA by Steven Greenberg, who wrote and produced all of the group's music, and who also played several instruments. They are best known for their second hit single \"Funkytown\
However when I request the biography via the gem I get:
"Before hard funksters like Prince and the Time hit the ..."
Why the discrepancy? Is this on the gems side or Echonests side?
The text was updated successfully, but these errors were encountered:
That's very strange. If you could provide a failing test for the biography method where this happens that would be awesome. I'll investigate it though, hopefully it's something fairly obvious :)
I suspect that it's the echonest API. Some of the returned biographies have the truncated value set to true. That said, that request should be returning a list of biographies some of which are truncated and some are not. So I reckon that it's not iterating around the returned JSON objects properly when it creates Echonest::Biography
Feel free to fix this or I will try to fix it when I get the chance.
I'm not sure if this is a bug or a "feature" of the Echonest API. Sometimes when I fetch a list of biographies for an artist I only get back 7 or 8 words followed by an ellipses, it looks as if the biography has been truncated in length. This only occurs on some artists, not all.
A good example is Lipps Inc. Using their biography example from the documentation:
http://developer.echonest.com/api/v4/artist/biographies?api_key=FILDTEOIK2HBORODV&name=Lipps%20Inc&format=json&results=1&start=0&license=cc-by-sa
However when I request the biography via the gem I get:
Why the discrepancy? Is this on the gems side or Echonests side?
The text was updated successfully, but these errors were encountered: