Author Topic: How to get album art ?  (Read 2911 times)

Hunter

  • Posts: 14
How to get album art ?
« on: 16 Mar '12 - 07:53 »
I am new to bass. I know that bass is currently not providing function to get the album art.
I am using VC++, and want to get the album art for the playing song and then display it in a picture box.

Anyone can please tell me how to get the album art ? I know about Taglib, but It's confusing to use it and also I am not able to find a single example of Taglib in VC++ which shows how to get and show the picture.
I am thinking about any Windows Media player or WinAMP plugin which can be used to do the same.

Please help me.
Thanks

jdg2011

  • Posts: 18
Re: How to get album art ?
« Reply #1 on: 16 Mar '12 - 23:13 »
You can search the web to find some type of album covers/artwork website, There are some out there and they are free. Find one sign up with them free and use there API to find album covers to set the image in your picture box :)
I know several other radio developers who use Google but the problem is: sometimes a porn picture is returned! ESP when radio commercials are playing "depends on the MD returned", So this might be dangerous to you app. You would use the bass meta-data along with the API function provided by the site you find to complete this mission of album art work retrieval.

PS Some of these CD/Covers album artwork sites take donations! highly recommended if you use one :)

Hunter

  • Posts: 14
Re: How to get album art ?
« Reply #2 on: 17 Mar '12 - 09:12 »
Thanks for the reply brother.
But I am not able to find, sorry but I am a newbie in this field.
May you suggest some of them.

jdg2011

  • Posts: 18
Re: How to get album art ?
« Reply #3 on: 17 Mar '12 - 20:02 »
Hunter off the top of my head here are a few I use.

www.allcdcovers.com <--FREE API
www.freecovers.net <--FREE API
www.amazon.com <-- PAID
www.google.com <-- in question

I will post more in a bit, I'm on the road lol :)

Hunter

  • Posts: 14
Re: How to get album art ?
« Reply #4 on: 18 Mar '12 - 18:11 »
Is there any Plugin or dll that I can call and get the album art from it, like XMPlay have an wrapper for album art plugin.
I don't want to use internet based API's because I don't want that every time someone plays a song the covert will be fetched from internet.

jdg2011

  • Posts: 18
Re: How to get album art ?
« Reply #5 on: 20 Mar '12 - 23:18 »
Are you trying to read tags from a file? or internet stream?

Hunter

  • Posts: 14
Re: How to get album art ?
« Reply #6 on: 21 Mar '12 - 05:35 »
I am trying to read tags from file not internet stream.
I saw audiogenie,Taglib and Id3lib but not sure how to use them in VC++ with Win 32 API.

aybe

  • Posts: 145
Re: How to get album art ?
« Reply #7 on: 21 Mar '12 - 06:53 »
Do you know EchoNest ?
http://the.echonest.com/

I am currently working on making this available under C# but I am struggling a little to produce a DLL from the C++ code ...

Also, there is Discogs,
http://www.discogs.com/

They both have APIs to query about covers but also many other nice things !

« Last Edit: 21 Mar '12 - 06:56 by aybe »

Hunter

  • Posts: 14
Re: How to get album art ?
« Reply #8 on: 25 Mar '12 - 06:23 »
Thanks aybe,

But I don't want internet API's to use. Is there any example for Taglib or ID3Lib ?