Jugdish wrote:Unfortunately, it doesn't look like there's anyway to get ALL the information last.fm has on your track plays.
If you were to use last.fm's web services, you will only be able to get playcounts for your top 50 most-played tracks. And if you want the timestamp each track was played as well, that information is only available for the last 10 tracks played.
You could get more information (though still limited) if you got the data from your actual last.fm profile rather than through the web services. Playcounts are available for your top 500 most-played tracks, and timestamps for the track plays go back exactly 2 weeks.
If you wanted to be really hardcore (and didn't care about timestamps), you could parse through your weekly charts for every single week and accumulate the track playcounts. But again, the weekly charts are limited to your top 500 most-played tracks, so assuming you never play more than 500 tracks per week you could theoretically get a complete set of playcount info with this method.
Funkafonik wrote:*bump* Any new development on this? it's been a while and lots happened at Last.FM in the meantime with the new Library and auto-corretion going on. I see there's even a Last.FM node available, any ways to now import playcounts to MM?
xmlURL = "http://ws.audioscrobbler.com/2.0/?method=user.getWeeklyChartList&user=" & fixurl(user) & "&api_key=daadfc9c6e9b2c549527ccef4af19adb"
Set xmlDoc = CreateObject("MSXML2.DOMDocument.3.0")
xmlDoc.async = False
xmlDoc.Load (xmlURL) ' <<<<---- load last.fm xml occurs here
If (xmlDoc.parseError.errorCode <> 0) Then
Set myErr = xmlDoc.parseError
MsgBox("You have error " & myErr.reason)
'Do more stuff here
Users browsing this forum: No registered users and 17 guests