kinyerakenneth / lastfm-java

Automatically exported from code.google.com/p/lastfm-java
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Getlovedtracks only returns 50 results #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The doc for Getlovedtracks says: Gets the last 50 tracks loved by a user.
But according to the lastfm api (http://www.last.fm/api/show?service=329)
you can get as many as you want. One can even do pagination, but I don't
care much for that. I just want them all :)

Solution: Support an optional parameter that specifies how many one wants
to suck.

Original issue reported on code.google.com by anders.rune.jensen on 26 Dec 2009 at 12:24

GoogleCodeExporter commented 9 years ago
Since I can't edit my own post, I'll just add that it's Getlovedtracks on user.

Original comment by anders.rune.jensen on 26 Dec 2009 at 12:25

GoogleCodeExporter commented 9 years ago
There already is a User.getLovedTracks method in svn that supports pagination. 
Call the 
method multiple times to retrieve all loved tracks.

Original comment by jannikov...@gmail.com on 29 Dec 2009 at 11:02