Psyker7, thanks a ton for this script, it was actually one of the reasons I decided to ditch iTunes and move to MM. Unfortunately, I can't seem to get it to work properly, either with the 2.2 version or the 3.0 beta.
With the 2.2 version, it appeared
to work, but out of 30,000+ last.fm plays, it only updated a handful of files in MM. Furthermore, it didn't seem to be updating last played times. Since I imported playcounts from iTunes originally, I assumed this was because my playcounts were all higher in MM than last.fm, so I removed all music from my library and readded it to reset the playcounts. I then ran 2.2 again and got the same behavior. I theorized that this might be because I had last.fm automatically fix the spelling/names of songs as they were scrobbled, so I disabled that setting and played a bunch of songs today from my phone. They were scrobbled correctly on last.fm, so I ran the script tonight, and it only updated one file - And that was one that I haven't played in days.
So, after this, I downloaded the beta 3.0 script. When I run it, however, it gets to page 100 (out of 779) and throws the following error: Error #500 Microsoft VBScript Runtime Error, Variable is undefined 'TrackListXML'. Then it gives the path to the script and lists the line number (165).
Do you have any suggestions as to what I am doing wrong? Thanks in advance for any assistance.
EDIT: Got 2.2 working, but the issue is weird. Apparently, the script only updates playcounts/last played if the track has a non-zero play counter. In my case, nearly everything was zero, but I had (by chance) listened to a song between my last two tests of the 2.2 script, and I noticed that when I ran the script, that one song updated. So, I got a script to increment the play counters by 1, ran it, and now the script is happily updating all of my files.