Fetching images from Last.fm

  • 0
  • 6
  • Question
  • Updated 4 years ago
  • Answered
I use the echonest API which returns image URLs for artists and most of these images have URLs from last.fm. These images URLs are not longer valid or they are not available. Is this a known issue and if so, when will it be fixed?
Photo of ReneG

ReneG

  • 2 Posts
  • 1 Reply Like

Posted 4 years ago

  • 0
  • 6
Photo of mrwebb

mrwebb

  • 6 Posts
  • 6 Reply Likes
I am seeing the same, images which used to be online are now offline.  The last.fm status page mentions some issues with images in the last couple weeks, but the current status is "ok"

Here is an example image:
http://userserve-ak.last.fm/serve/500/54967909/George+Strait+georgestraitnew4.jpg
Photo of Radyokewra Kewra

Radyokewra Kewra

  • 3 Posts
  • 1 Reply Like
please try your link it doesn't working :-)
(Edited)
Photo of mrwebb

mrwebb

  • 6 Posts
  • 6 Reply Likes
That is my point. echonest gave me that image and it has worked forever until recently. I need to know if last.fm is pulling the plug on all this echonest data or what.
Photo of mrwebb

mrwebb

  • 6 Posts
  • 6 Reply Likes
@pellitero can you give us some direction here?
Photo of Alin

Alin

  • 165 Posts
  • 477 Reply Likes
They changed the address format of their images. It's kind of like this: http://img2-ak.lst.fm/i/u/ar0/d67c283f4c3e469f9ccf20ce150b83cd
Photo of gregory gerla

gregory gerla

  • 3 Posts
  • 0 Reply Likes
Hey @Alin,

It seems Last.fm is also not giving out new API credentials, so there is no way for me to get an image like the one you mentioned. 

Given the new ID is different from what it was before on echonest, there is no way to change the old one to the ak.lst.fm one either. 

Any ideas?
Photo of mrwebb

mrwebb

  • 6 Posts
  • 6 Reply Likes
@ReneG have you by chance reached out to EchoNest?  Perhaps they have some more insight as to what is happening and a timeline for the fix?  I imagine they would be pretty proactive about getting it fixed.
Photo of ReneG

ReneG

  • 2 Posts
  • 1 Reply Like
This is not an Echonest problem, it is a last.fm problem as I believe they are not serving the images correctly. I imagine this is a server replication issue of some sorts because it is an intermittent problem as some images can be fetched and others cannot. But it has nothing to do with Echonest indexing.
Photo of Pellitero

Pellitero, Alum

  • 924 Posts
  • 330 Reply Likes
Hi mrwebb, ReneG;

Bad news, I am afraid. You won't be able to fetch last.fm images any longer through the echonest API. Sorry about that. 
Photo of mrwebb

mrwebb

  • 6 Posts
  • 6 Reply Likes
Thanks for the clarification.  This isa major blow to echonest because most of their images are from Last.fm,  oddly last.fm doesnt seem to make any artist images other than a single shot (in various sizes) available for the artist.  Is there any plans to make an artist images api available directly from last.fm?
Photo of Radyokewra Kewra

Radyokewra Kewra

  • 3 Posts
  • 1 Reply Like
Album art/cover work for some artists in my case only 2 artists with art/cover but 99% of album art doesn't working. I spend a lot of time for making a android radio app which  supports last fm api for covers/album art. I was ready with and it worked very good but 2 weeks later collapsed every thing... because introducing of "new" last.fm its very disappointing.  
(Edited)
Photo of gregory gerla

gregory gerla

  • 3 Posts
  • 0 Reply Likes
Actually I have been talking to some people at Last.fm and it seems like its just a question of echonest updating their links. @Pellitero

Hopefully this can be resolved soon. 
Photo of Hitobat

Hitobat, Developer

  • 24 Posts
  • 46 Reply Likes
I've tried to contact EchoNest about this, but it's been 2 weeks now and I haven't heard a reply. I also tried to sign up for an API key to try using the images API to see the broken links for myself, but even the API email hasn't arrived.

Right now I feel like the EchoNest site is kinda dead, there haven't been any news updates or anything since they got bought by Spotify.

Does anyone have a direct contact at EchoNest they can talk to?
Please ask them to get in touch with us!
Photo of Alex Hulbert

Alex Hulbert

  • 2 Posts
  • 1 Reply Like
You can check to see if the echonest images are coming from the old, broken server (they begin with http://userserve-ak.last.fm) and cancel those out. If no more echonest images exist, you can try to get one using the Last.fm API as a fallback.

As far as albums go, there must be another substantial API out there for use as a fallback. Has anyone looked into discogs or beatport? Both of those work with Echonest ID spaces.
Photo of gregory gerla

gregory gerla

  • 3 Posts
  • 0 Reply Likes
Wow been searching around for a forum discussion like this for a while, glad I found it. 

I too have been using the echonest API to get images, but now cannot given they are coming from last.fm which is down.

My question is what everyone's solution is now for getting images? I would try the last.fm api directly, but it looks like they are not issuing new API keys.

This is frustrating, but looking to see what you guys are doing as a solution?

Best,
Greg Gerla