Getting Last.FM Played #'s?

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Re: Getting Last.FM Played #'s?

Postby Funkafonik » Tue Feb 17, 2009 3:21 pm

About the Last.FM playcount feed , I've noticed the feeds don't match perfectly with our Libraries. I've imported Last.FM playcounts to iTunes and WMP with their respective softwares and the numbers weren't all perfect. Would there be any way to parse our own Libraries and get the playcounts from there? Especially now that their auto-correction merges duplicate/misspelled songs and artists, but only in our Libraries.
Funkafonik
 
Posts: 53
Joined: Fri Feb 13, 2009 12:33 pm

Re: Getting Last.FM Played #'s?

Postby m0nkiii » Tue Feb 17, 2009 3:36 pm

Funkafonik wrote:About the Last.FM playcount feed , I've noticed the feeds don't match perfectly with our Libraries. I've imported Last.FM playcounts to iTunes and WMP with their respective softwares and the numbers weren't all perfect. Would there be any way to parse our own Libraries and get the playcounts from there? Especially now that their auto-correction merges duplicate/misspelled songs and artists, but only in our Libraries.


I've done a script that parses this site: http://www.last.fm/user/USERNAME/tracks
Puts all tracks in a database and makes some stats. Using this data to import to MM should work.
It takes a while to parse though.

http://www.lastfm.shikaka.net/
m0nkiii
 
Posts: 15
Joined: Mon Feb 26, 2007 1:48 pm
Location: Swiiiiden

Re: Getting Last.FM Played #'s?

Postby Psyker7 » Wed Feb 18, 2009 12:40 am

Well here is a vbscript implimentation of a last.fm sync of playcounts.

It will find total playcounts of every track in your last.fm history, check if it is higher than the value in the database (for all tracks of that title/artist - even if multiples) and updates it if so.

My first real scripting attempt for MM, thanks to:
Teknojnky - author of last.fmnode - for code for various functions, hacked a LOT.
Trixmoto - for mmip packaging of normal scripts, had me stumped for a while there :D


Forum thread:
http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=37341
Psyker7
 
Posts: 253
Joined: Sat Mar 03, 2007 8:00 am

Re: Getting Last.FM Played #'s?

Postby Redeye51 » Thu Apr 19, 2012 5:37 pm

I'm getting the following errors during install of you plugin.

Error 1:
Image

Error 2:
Image

Are there prerequisites?

Code: Select all
Dim oShell : Set oShell = CreateObject( "WScript.Shell" )
Dim ScriptFileSaveLocation : ScriptFileSaveLocation = SDB.ScriptsPath&"LastFmImport\"

If Not fso.folderexists(ScriptFileSaveLocation) Then <-- Fails Here
   fso.CreateFolder(ScriptFileSaveLocation)
End If


My System: Windows 7 64bit
MediaMonkey: 4.0.3.1476

Thanks
Redeye51
 
Posts: 2
Joined: Thu Apr 19, 2012 5:18 pm

Re: Getting Last.FM Played #'s?

Postby Psyker7 » Fri Apr 20, 2012 1:38 am

Typo on my part, updated.
Psyker7
 
Posts: 253
Joined: Sat Mar 03, 2007 8:00 am

Re: Getting Last.FM Played #'s?

Postby Redeye51 » Fri Apr 20, 2012 10:52 am

It's fixed! It's loading my counts as I type this message.

Thanks for you hard work on this.
Redeye51
 
Posts: 2
Joined: Thu Apr 19, 2012 5:18 pm

Re: Getting Last.FM Played #'s?

Postby sevenalive » Sat Aug 18, 2012 9:19 pm

Any chance for the same thing but for Zune counts on zune.net?

Maybe an option: Zune counts + Local Counts.
sevenalive
 

Chance to Look for Album Interpret?

Postby Cadfael » Thu Nov 01, 2012 10:08 am

Salve!

First: sorry for my bad english ;-)

Is there any Chance, to look for the Album Artist in the Database of Mediamonkey?

Thanx for Help,
Andy
Cadfael
 
Posts: 3
Joined: Thu May 08, 2008 1:19 am

Previous

Return to Need Help with Addons?

Who is online

Users browsing this forum: epiq and 15 guests