mherger wrote: 
> 
> I tested this before, but I must be doing something wrong getting the  
> artist's ID. Just tried it again with the first random artist I picked: 
> 
> Adele. Discogs would return no less than 10 artists with this exact name
> 
> (plus a number added). And sure enough the first item returned is not
> what  
> we'd expect. How do you solve this?
> 
My plugin searches for a release by artist, album title and year (I need
this for the "Discogs/Release" tab in any case), and then takes the
artist(s) ID(s) from the result. This makes sure it gets the correct
artist(s) - as you can see from the screenshot, there are at least 8
bands called "Weekend", and the correct one is displayed.

> 
> Oh, and once I'm done finding the correct artist ID, I'd still have to
> run
> 12 requests(!) for Peter Gabriel's discography. With a hit rate
> limitation
> of 1 request per second, this just doesn't work.
> 
My plugin pages the results in chunks of 100, which I think is
acceptable from a usability POV


> 
> I didn't find any way to narrow down the results, to eg. only get
> masters. 
> 
Don't think that's possible. I wouldn't do this anyway, since a
significant part of the discography could be missing (e.g. all singles).



[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (http://code.google.com/p/extgui4lms/) ]
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to