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

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

Moderátoři: Peke, Gurus

Odpovědět
Ashran
Příspěvky: 34
Registrován: stř lis 19, 2008 4:10 pm

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

Příspěvek od 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
Příspěvky: 4
Registrován: pon dub 21, 2014 6:57 pm

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

Příspěvek od 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
Příspěvky: 10
Registrován: úte lis 18, 2014 9:00 am

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

Příspěvek od 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 Князь тишины:

Kód: Vybrat vše

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]

Příspěvek od ohneland »

I don't seem to understand this scirpt. Where do I actually enter my lastfm username and password?
frowie
Příspěvky: 3
Registrován: pon dub 30, 2007 2:21 am

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

Příspěvek od frowie »

ohneland píše: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
Příspěvky: 3
Registrován: pon dub 30, 2007 2:21 am

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

Příspěvek od frowie »

Hi!

Is there a way to disable album matching?

thanks!
Funkafonik
Příspěvky: 58
Registrován: pát úno 13, 2009 12:33 pm

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

Příspěvek od Funkafonik »

frowie píše: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
Příspěvky: 96
Registrován: ned lis 04, 2012 6:26 pm

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

Příspěvek od 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
Příspěvky: 836
Registrován: ned zář 21, 2008 9:35 pm

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

Příspěvek od 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
Příspěvky: 2
Registrován: ned lis 01, 2015 8:30 am

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

Příspěvek od 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
Příspěvky: 18
Registrován: ned úno 20, 2011 8:17 am

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

Příspěvek od BlackTornado »

Buruan píše: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
Příspěvky: 3
Registrován: čtv lis 19, 2015 4:31 am

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

Příspěvek od 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
Příspěvky: 3
Registrován: čtv pro 24, 2015 7:54 pm

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

Příspěvek od eugenesv »

Buruan píše: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]

Příspěvek od 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
Příspěvky: 3
Registrován: čtv pro 24, 2015 7:54 pm

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

Příspěvek od eugenesv »

sols píše:Using v 2.4 seems ...
Sometimes we have to step back to move forward 8)
Thank you!
Odpovědět