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

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Ashran
Posts: 34
Joined: Wed Nov 19, 2008 4:10 pm

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

Post by Ashran » Mon Nov 03, 2014 3:08 am

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
Posts: 4
Joined: Mon Apr 21, 2014 6:57 pm

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

Post by mikecs83 » Tue Nov 18, 2014 10:33 pm

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
Posts: 10
Joined: Tue Nov 18, 2014 9:00 am

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

Post by alexey2284 » Sun Dec 07, 2014 2:37 pm

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: Select all

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
Posts: 115
Joined: Mon Jan 08, 2007 11:11 am

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

Post by ohneland » Sun Jan 18, 2015 10:59 am

I don't seem to understand this scirpt. Where do I actually enter my lastfm username and password?
ohneland

Win 10
Logitech Media Server on a Synology NAS with diff. players
Moto G on LOS 14 [LG Optimus One; Nokia Lumia 620]
MM 4, MP3Tag, EAC, Musicbee, [Songbird]
[Samsung Galaxy Tab 2 10.1 5110; Sansa ClipZip]

frowie
Posts: 3
Joined: Mon Apr 30, 2007 2:21 am

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

Post by frowie » Sun Feb 08, 2015 3:39 am

ohneland wrote: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
Posts: 3
Joined: Mon Apr 30, 2007 2:21 am

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

Post by frowie » Sun Feb 08, 2015 3:40 am

Hi!

Is there a way to disable album matching?

thanks!

Funkafonik
Posts: 58
Joined: Fri Feb 13, 2009 12:33 pm

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

Post by Funkafonik » Sun Feb 15, 2015 2:50 pm

frowie wrote: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
Posts: 96
Joined: Sun Nov 04, 2012 6:26 pm

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

Post by Buruan » Sat Sep 05, 2015 6:08 pm

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
Posts: 820
Joined: Sun Sep 21, 2008 9:35 pm
Location: Cupertino, California

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

Post by mcow » Sun Sep 20, 2015 4:00 pm

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
Posts: 2
Joined: Sun Nov 01, 2015 8:30 am

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

Post by ModiaMenkey » Sun Nov 01, 2015 8:38 am

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
Posts: 18
Joined: Sun Feb 20, 2011 8:17 am

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

Post by BlackTornado » Mon Nov 16, 2015 4:37 pm

Buruan wrote: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
Posts: 3
Joined: Thu Nov 19, 2015 4:31 am

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

Post by Dashmaster » Thu Nov 19, 2015 4:45 am

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
Posts: 3
Joined: Thu Dec 24, 2015 7:54 pm

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

Post by eugenesv » Thu Dec 24, 2015 8:08 pm

Buruan wrote: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]

Post by sols » Sun Apr 10, 2016 1:35 am

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
Posts: 3
Joined: Thu Dec 24, 2015 7:54 pm

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

Post by eugenesv » Sun Apr 10, 2016 4:00 am

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

Post Reply