Last.fm Playcount Import (2010-03-28) [MM3/4]
Re: Last.fm Playcount Import [MM3]
Hi,
I was not able to reproduce the error with that one track, but have in the mean time found a couple of other tracks with too high counts. I know that doesn't help you identify whether there is an error in the script and if so what to do about it - I just wanted to let you know so I didn't just leave your question hanging.
I was not able to reproduce the error with that one track, but have in the mean time found a couple of other tracks with too high counts. I know that doesn't help you identify whether there is an error in the script and if so what to do about it - I just wanted to let you know so I didn't just leave your question hanging.
Re: Last.fm Playcount Import [MM3]
I can definitely put in an option to overwrite the playcount in MM - note that it normally does this anyway if the playcount is higher (as that's the point in this script) but can give it an option to lower it too.firefoxsilver9 wrote:Hello everyone. i have a few questions about this add-on.
First, is there a way to modify the script to have it override the playcount in MM? Also can the script be modified to allow a less-strict tag matching algorithm cause i noticed tracks that i have in my last.fm won't update the MM playcount if the tags aren't 100% identical, especially with music that has foreign characters. thanks in advance
As for tag matching, it's not an easy problem, and for large databases this would increase the run-time exponentially. Unfortunately last.fm does it's own sanitization of characters so there are always going to be some discrepancies.
I can't think of any other cause except last.fm's database getting corrupted then, sorry!TJOHO wrote:Hi,
I was not able to reproduce the error with that one track, but have in the mean time found a couple of other tracks with too high counts. I know that doesn't help you identify whether there is an error in the script and if so what to do about it - I just wanted to let you know so I didn't just leave your question hanging.
Re: Last.fm Playcount Import [MM3]
I had to setup MM on a new computer and I am using Version 2 of Last.fm Playcount Import. I am having a problem keeping it installed. Everytime I go to use this addon, it is not there so I need to reinstall it. Any ideas why this is happening? The last.fm scrobbler is the only other addon and it is working fine.
MM 3.2.4
Vista OS
MM 3.2.4
Vista OS
-
- Posts: 1
- Joined: Wed Feb 02, 2011 5:22 pm
Re: Last.fm Playcount Import [MM3]
Hi
I have just tried to update my playlist and I have the following error - Error. Invalid limit. Please provide a limit from 1 to 10.
Is anyone able to help?
I have just tried to update my playlist and I have the following error - Error. Invalid limit. Please provide a limit from 1 to 10.
Is anyone able to help?
Re: Last.fm Playcount Import [MM3]
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
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
Re: Last.fm Playcount Import [MM3]
Good idea actually, I recently got an android phone myself - but scrobbling to last.fm and running the script was working fine.
Don't have much time right now either - just started a new job and all, but if you can get me a copy of an xml file I can have a look.
I've been using winamp and Power Amp as players myself.
Don't have much time right now either - just started a new job and all, but if you can get me a copy of an xml file I can have a look.
I've been using winamp and Power Amp as players myself.
Re: Last.fm Playcount Import [MM3]
i've just posted a reply to this but it vanished after a message appeared about drafts which i didnt read and just clicked yes to!
So, here's an xml output from player pro.
it's simple enough in it's structure. It should be really easy to bend your last.fm script to use this?
So, here's an xml output from player pro.
it's simple enough in it's structure. It should be really easy to bend your last.fm script to use this?
Re: Last.fm Playcount Import [MM3]
Update for those who still use this script reguarly - I've made progress on updating version 2 so it caches the weekly xml files locally. This should speed up updates to a few seconds after the first run, instead of minutes.
Once this is working I may look at getting version 3 working with this caching, but because version 3's XML files are not static this may be more challenging.
Expect an update in a week or two!
Once this is working I may look at getting version 3 working with this caching, but because version 3's XML files are not static this may be more challenging.
Expect an update in a week or two!
Re: Last.fm Playcount Import [MM3]
Update! (wooo!)
Works with MM4 OK as well
No change in functionality, simply caches xml files locally in %appdata%, so subsequent reruns will be much quicker.
Check out version 2.1:
http://psykar.com/scripts
Works with MM4 OK as well
No change in functionality, simply caches xml files locally in %appdata%, so subsequent reruns will be much quicker.
Check out version 2.1:
http://psykar.com/scripts
Code: Select all
' Changes: 2.1
' - Caches XML files locally for faster re-runs
' - Added retry option for HTTP timeouts
'ToDo:
'* Better UI
' o Checkbox for updating last played times
'* Retry HTTP a few times before timing out
'* Move all files modified into %appdata%
'* Possibly use sdb.ScriptsPath instead ?
-
- Posts: 58
- Joined: Fri Feb 13, 2009 12:33 pm
Re: Last.fm Playcount Import [MM3/4]
Great! Thanks for the update! Looking forward for an updated version 3 in the future!
Re: Last.fm Playcount Import [MM3/4]
thanks!
(but i'm sure your time would be better spent on the androidxml > MM4 skip count script!)
(but i'm sure your time would be better spent on the androidxml > MM4 skip count script!)
-
- Posts: 20
- Joined: Fri Nov 09, 2007 10:11 pm
Re: Last.fm Playcount Import (2010-03-28) [MM3/4]
Psyker 7,
Thanks so much for your awesome script. I play my music from multiple machines in multiple locations and your script helps me to keep my playcounts and thus my auto playlists functioning perfectly.
Love your work.
Thanks so much for your awesome script. I play my music from multiple machines in multiple locations and your script helps me to keep my playcounts and thus my auto playlists functioning perfectly.
Love your work.
Re: Last.fm Playcount Import (2010-03-28) [MM3/4]
Hello
I just installed the new 2.1 version but when I run the script it returns this error (i translate it from Italian):
Any user here or the author can help me?
Thank you
I just installed the new 2.1 version but when I run the script it returns this error (i translate it from Italian):
I'm on Windows XP and previous version 2.0 worked normally.Error #76 Microsoft VBScript runtime error
Could not find the path
File: "C:\Programmi\Multimedia\MediaMonkey\Scripts\LastFmImport.vbs", Line: 444, Column: 2
Any user here or the author can help me?
Thank you
Re: Last.fm Playcount Import (2010-03-28) [MM3/4]
I've got the same problem as cianoz with v2.1, using Windows 7.
Version 2.0 doesn't update anything
Version 2.0 doesn't update anything
Re: Last.fm Playcount Import (2010-03-28) [MM3/4]
Both of you try the latest 2.2 version
http://psykar.com/scripts
There may have been some issues when the directory for caching the xml files wasn't creating properly, this should fix that hopefully
http://psykar.com/scripts
There may have been some issues when the directory for caching the xml files wasn't creating properly, this should fix that hopefully