Last.fm Playcount Import (2010-03-28) [MM3/4]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

Ashran
Berichten: 34
Lid geworden op: wo nov 19, 2008 4:10 pm

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door Ashran »

Hi there. I have a problem with this script. I have a new computer running with windows 7, and this script is not working correctly on it.

I have moved my database and relocated all my music (they are still on the other computer, I access them through the network). When I try to use the script it starts fine, going from "loading initial recent tracks" to downloading a few pages, but when it arrives to a specific pages (the third one of 2084) it reverse to 'loading initial recent tracks" for around 30 seconds to one minutes and then starts downloading the first three pages again and stops at the same point, and that keeps going like this in a loop. I have tried leaving it on for the night but when I woke up it was still on the loop.

The script is working fine on the other computer.

What can I do to fix this ?
mikecs83
Berichten: 4
Lid geworden op: ma apr 21, 2014 6:57 pm

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door mikecs83 »

I'm still unable to use the Importer at all. When I click to use it, my cursor goes into an hourglass for about 2 seconds, then goes back to normal. No dialog box appears ever. The debugger shows this:

[6788] Current User Scripts Folder: C:\Users\Owner\AppData\Roaming\MediaMonkey\Scripts\
[6788] Current User Scripts Folder: C:\Users\Owner\AppData\Roaming\MediaMonkey\Scripts\
[6788] Scripts Folder: C:\MediaMonkey\Scripts\
[6788] Events: Destroying TScriptExec: C:\MediaMonkey\Scripts\LastFmImport.vbs

I have a portable installation, so I don't know why it looks in the user folder. I tested putting the files in that folder as well and still, nothing would happen - I never get the dialog box to show up.

I'm on version 4.1.5.1719, and testing 3.3 of the importer.

Thanks.
alexey2284
Berichten: 10
Lid geworden op: di nov 18, 2014 9:00 am

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door alexey2284 »

Many thanks to the developer of this wonderful script! It made my life so easier.
But I need help. The script does not update the play count for some of the songs from this album (namely: Скованные одной цепью, Князь тишины, Взгляд с экрана). Only last play date.
My Last.fm profile. Here is the log for Князь тишины:

Code: Selecteer alles

2014-12-07 22:27:27,543: Reading existing cache from F:\Program Files (x86)\MediaMonkey\Scripts\LastFmImport\Cache
2014-12-07 22:27:27,964: Excluding between dates 1353840785 and 1417892885
2014-12-07 22:27:28,007: Pulling tracks between None - 1353840785
2014-12-07 22:27:30,513: Getting page 1...
2014-12-07 22:27:35,997: ... done with page 1
2014-12-07 22:27:37,019: Pulling tracks between 1417892885 - None
2014-12-07 22:27:38,523: Getting page 1...
2014-12-07 22:27:42,868: ... done with page 1
2014-12-07 22:27:44,861: Closing threads.
2014-12-07 22:27:44,861: Threads Closed.
2014-12-07 22:27:45,973: Starting matches
2014-12-07 22:27:46,267: We are updating 1 tracks on different albums
2014-12-07 22:27:46,954: We are updating 1 tracks on different albums
2014-12-07 22:27:47,582: We are updating 1 tracks on different albums
2014-12-07 22:27:47,834: We are updating 1 tracks on different albums
2014-12-07 22:27:48,243: We are updating 1 tracks on different albums
2014-12-07 22:27:48,359: We are updating 1 tracks on different albums
2014-12-07 22:27:50,753: We are updating 1 tracks on different albums
2014-12-07 22:27:52,434: We are updating 1 tracks on different albums
2014-12-07 22:27:53,164: Updated: 1
UpdatedDates: 1
UpdatedCounts: 0
Matches: 14442
Matched without album: 8
Unmatched: 3331
Total rows changed: 3
ohneland

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door ohneland »

I don't seem to understand this scirpt. Where do I actually enter my lastfm username and password?
frowie
Berichten: 3
Lid geworden op: ma apr 30, 2007 2:21 am

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door frowie »

ohneland schreef:I don't seem to understand this scirpt. Where do I actually enter my lastfm username and password?
Run the script (tools/scripts/lastfm importer), you'll get a popup asking your lastfm username, that's it...
frowie
Berichten: 3
Lid geworden op: ma apr 30, 2007 2:21 am

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door frowie »

Hi!

Is there a way to disable album matching?

thanks!
Funkafonik
Berichten: 58
Lid geworden op: vr feb 13, 2009 12:33 pm

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door Funkafonik »

frowie schreef:Hi!

Is there a way to disable album matching?

thanks!
+1 for this! Would love to have that option as I'd prefer using the Recently Played list V3 instead of the weekly charts V2.
Buruan
Berichten: 96
Lid geworden op: zo nov 04, 2012 6:26 pm

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door Buruan »

This stopped working for me :(

Results :
Error was encountered, rerunning will resume where you left off

<type 'exceptions.AttributeError'>: 'TypeNone' object has no attribute 'findall'

Help me Obi-Wan Psykar you are my only hope!!!
mcow
Berichten: 836
Lid geworden op: zo sep 21, 2008 9:35 pm

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door mcow »

I used this add-on ("Last FM Play Importer Python 0.3" is how it appears in MM's Extensions window) yesterday and had no problems.
ModiaMenkey
Berichten: 2
Lid geworden op: zo nov 01, 2015 8:30 am

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door ModiaMenkey »

Hi!

the Skript works fine on my system, with Win10 and MM 4.1.9.1764.

also from me +1 for "Is there a way to disable album matching?"

thank you :)
BlackTornado
Berichten: 18
Lid geworden op: zo feb 20, 2011 8:17 am

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door BlackTornado »

Buruan schreef:This stopped working for me :(

Results :
Error was encountered, rerunning will resume where you left off

<type 'exceptions.AttributeError'>: 'TypeNone' object has no attribute 'findall'

Help me Obi-Wan Psykar you are my only hope!!!
I am also getting this error... Any idea how to get around it?
Dashmaster
Berichten: 3
Lid geworden op: do nov 19, 2015 4:31 am

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door Dashmaster »

I'm a newcomer to mediamonkey that's had partial success with this script. It's worked for the majority of my library, but for some reason not all of it. Out of about 13000 tracks in my library, about a quarter failed to update at all and are showing a play count of 0, despite scrobbles being present on last.fm. I'd appreciate if anyone could tell me why it failed/what I can do to fix it. Thank you!

I've uploaded the log file here: http://filebin.ca/2N4ppvx5xki7

Not sure if there's a better place to put the log file, hopefully that will work.
eugenesv
Berichten: 3
Lid geworden op: do dec 24, 2015 7:54 pm

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door eugenesv »

Buruan schreef:This stopped working for me :(

Results :
Error was encountered, rerunning will resume where you left off

<type 'exceptions.AttributeError'>: 'TypeNone' object has no attribute 'findall'

Help me Obi-Wan Psykar you are my only hope!!!
I have exactly the same issue. Hope someone is capable of fixing the script since author seems to have abandoned it :cry:
sols

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door sols »

Using v 2.4 seems to solve the <type 'exceptions.AttributeError'>: 'TypeNone' object has no attribute 'findall' error. You can get it here:

http://psykar.com/scripts/
eugenesv
Berichten: 3
Lid geworden op: do dec 24, 2015 7:54 pm

Re: Last.fm Playcount Import (2010-03-28) [MM3/4]

Bericht door eugenesv »

sols schreef:Using v 2.4 seems ...
Sometimes we have to step back to move forward 8)
Thank you!
Plaats reactie