Hi,
I think i've spoken to you before... i can't remember
I'm STILL trying to sort out this android/MM sync issue, but i think i'm nearly there.
some history:
I am using a version of your script which I modified to pull the last 10 pages from lastfm and then sync playcounts etc.
I've been intouch with the author of an android player called PlayerPro, who has added stats export to his app. I also contacted the MM devs and introduced them to the PlayerPro dev, hoping for magic to happen between them, unfortunately this didn't happen and we still have no way to sync playcounts and ratings back to MM from Android devices.
Today i've been looking at the stats export xml from the android player and looking at your script for last.fm. If the lastfm xml was swapped for the PlayerPro xml, then it would be technically possible to modify your script to read the stats and update the MM database using the phone data rather than the LastFM data (i think)
With a few modifications, it could also be made to update the skip, play and rating?
Unfortunately I have very little time to spend on this, could you assist?
If we can crack this, we'd be heroes!

Hope to hear from you soon..
ZF