1

I have music player and I know how to pull the album art for an album given an album id.

content://media/external/audio/albumart

However, I can't find a way to fetch the image for an artist given using artist id and name.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Julia
  • 1,207
  • 4
  • 29
  • 47
  • no its not. The other thread shows how to pull the album art from an album id. I want to pull the musican's photo, not the album art. – Julia Apr 05 '16 at 02:12
  • As I know each music track has only one embedded albumart image within and is not necessarily artist picture, right? – Farshad Apr 05 '16 at 02:24
  • Yah, I can get the track album art too, each track will just show the album art. However, I have a list of artist that I want to show their images. I've seen some music player that shows the artist photo along the artist, so I'm trying to pull that too. – Julia Apr 05 '16 at 02:29
  • @Julia did you get the solution? – Abdul Waheed Oct 03 '17 at 07:10

1 Answers1

0

You can use this API, you need to register and obtain an API key but ...

http://developer.echonest.com/docs/v4/artist.html#images

jonhid
  • 2,075
  • 1
  • 11
  • 18
  • Is there anyway to do it within the android platform? – Julia Apr 05 '16 at 03:06
  • Yes you can do it, just launch an AsyncTask to the related endpoint of this API and in the returned json you have the img url. – jonhid Apr 05 '16 at 03:10
  • Yah, but I don't want to rely on this API since if something goes wrong with this site, my app will crash. – Julia Apr 05 '16 at 03:20