suicvne / pandoroid

Automatically exported from code.google.com/p/pandoroid
GNU General Public License v2.0
0 stars 0 forks source link

Need a source of full size album art #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The album cover art images provided in the XML-RPC response to the 
playlist.getFragment method are only 130x130 pixels.  The stock android app 
uses a JSON-based API and returns larger images.  Packet captures have failed 
to reveal where that larger image comes from.

All known open-source implementations of the XML-RPC API do not use cover art, 
so we are alone in figuring this one out.  At this point, in order to obtain 
proper functionality, any stable source of cover art will be accepted, as long 
as it is a high enough resolution for the typical android device.  An 
amazon-based provider has been suggested.

Original issue reported on code.google.com by aregner on 1 Aug 2011 at 12:02

GoogleCodeExporter commented 9 years ago
Just to add to add feedback on this. Lastfm has an api that can be used. The 
only downside to using it is if a single key(which you register) is used to 
much at once it will cause the key to be banned. More details can be found 
here: http://www.last.fm/api/intro I still think it might be a good idea to 
take a good look at pandora with wireshark and see what comes to light(have you 
already done this?).

Original comment by mbostwic...@gmail.com on 21 Oct 2011 at 12:39

GoogleCodeExporter commented 9 years ago
artRadio is a property in the song list(i.e when ever play-list is fetched) is 
has a url pointing to the jpg.

Original comment by mbostwic...@gmail.com on 25 Oct 2011 at 3:13

GoogleCodeExporter commented 9 years ago
the artRadio property is the 130x130 pixel version that I was referring to.  It 
is what is used in my current version of Pandoroid.  The last.fm api may be 
fine to use, as long as we use an API key dedicated to pandoroid and follow 
their TOS as best we can.  The worst that will happen is that we eventually get 
reports from users that album art isn't loading.

Artwork from amazon may still be something we want to look into implementing, 
if only to have it ready to drop in when needed.  Although for the time being, 
I am happy to accept the last.fm implementation into the master branch here and 
have it be a part of the public release when that happens.  I'll use my own API 
key I generated just for Pandoroid.

Original comment by aregner on 25 Oct 2011 at 1:51

GoogleCodeExporter commented 9 years ago
I initially tried using the amazon api. Apparently it used to be as simple as 
using a few lines of code. Details here 
http://explodingpixels.wordpress.com/2008/06/24/getting-album-art-using-amazon-w
eb-services/ 

However, their new api is more complicated with the requests. The documentation 
is less than desirable and each request must be signed before being sent. I 
found lastfm to be much easier in that regard. If you check out my code on 
github, I have it revert back to the 130x130 artwork in the case that its not 
found or the lastfm api doesn't respond. It may not be the best looking, but I 
suppose it's better than nothing. 

Original comment by putnam...@gmail.com on 25 Oct 2011 at 8:30