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

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Last.fm Playcount Import (2010-03-28) [MM3/4]

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

Post by tleq » Sat May 25, 2013 8:06 pm

Hello, I have an error when trying to use Lastfm Import 3.3. It did not happen before when I was using Windows 7, but recently I changed my OS to Windows 8 and I have this msg whenever I try to import

Error was encountered, rerunning will resume where you left off
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'/xea' in position 12: ordinal not in range (128)

Does anyone know how to solve the problem? Something with installing unicode support?
Thanks.

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

Post by Psyker7 » Sat Apr 06, 2013 9:37 pm

thiagorobis wrote:Hello,
Firstly, congratulations on extension, is very good.
However, I have had a problem, so I can only import about 20% of my stats Last.fm.
Do not know if it's XML Last.fm or media library of MM that is used for comparison, but when there are accented characters in my language, Portuguese, appears in the error log, like below:
Log:
Code: Select all
Matches: 1782
Matched without album: 0
Unmatched: 2334
Total rows changed: 57

Looks like it was able to match

And my unMatched.txt file (part of it):

Code: Select all
('Match failed on: Artist/trackname', {'album': u'Forr\xf3 Hits', 'played_on_uts': '1297591933', 'name': 'chome liga', 'played_on': datetime.datetime(2011, 2, 13, 10, 12), 'artist': u'Avi\xf5es do Forr\xf3'})


I believe that to be a incompatibility encoding files.
You can take a look?
Thank you!

So from the debug log, it looks like it matched 40% or more of your database, not too terrible.
In terms of finding the ones that didn't, any chance you can email your database to me (or upload it to dropbox or something and link it here or in PM)
Also if you could let me know your last.fm username that would be helpful to narrow things down.

I should point out, that the \xf3 and so on in the unmatched log, is only because I was having trouble being able to write out the unicode characters to the csv file. Internally it should be matching these correctly.

Cheers.

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

Post by thiagorobis » Tue Apr 02, 2013 10:21 am

Hello,
Firstly, congratulations on extension, is very good.
However, I have had a problem, so I can only import about 20% of my stats Last.fm.
Do not know if it's XML Last.fm or media library of MM that is used for comparison, but when there are accented characters in my language, Portuguese, appears in the error log, like below:
Log:
Code: Select all
2013-03-31 13:20:16,618: Reading existing cache from C:\Program Files (x86)\MediaMonkey\Scripts\LastFmImportPython\Cache
2013-03-31 13:20:16,710: Excluding between dates 1200416030 and 1364468363
2013-03-31 13:20:22,006: Pulling tracks between None - 1200416030
2013-03-31 13:20:27,023: Getting page 1...
2013-03-31 13:20:35,782: ... done with page 1
2013-03-31 13:20:36,539: Pulling tracks between 1364468363 - None
2013-03-31 13:20:38,546: Getting page 1...
2013-03-31 13:20:40,137: ... done with page 1
2013-03-31 13:20:46,141: Closing threads.
2013-03-31 13:20:46,141: Threads Closed.
2013-03-31 13:20:46,592: Starting matches
2013-03-31 13:20:52,308: Updated: 19
UpdatedDates: 11
UpdatedCounts: 12
Matches: 1782
Matched without album: 0
Unmatched: 2334
Total rows changed: 57



And my unMatched.txt file (part of it):

Code: Select all
('Match failed on: Artist/trackname', {'album': 'Sing-A-Longs & Lullabies For The Film Curious George', 'played_on_uts': '1235436492', 'name': 'Supposed To Be', 'played_on': datetime.datetime(2009, 2, 24, 0, 48), 'artist': 'Jack Johnson'})
('Match failed on: Artist/trackname', {'album': 'The Boy With No Name', 'played_on_uts': '1214342819', 'name': 'New Amsterdam', 'played_on': datetime.datetime(2008, 6, 24, 21, 26), 'artist': 'Travis'})
('Match failed on: Artist/trackname', {'played_on_uts': '1201020662', 'name': 'Casa', 'played_on': datetime.datetime(2008, 1, 22, 16, 51), 'artist': u'Lul\xfa Santos'})
('Match failed on: Artist/trackname', {'album': 'Lioness: Hidden Treasures', 'played_on_uts': '1360950636', 'name': 'Like Smoke (feat. Nas)', 'played_on': datetime.datetime(2013, 2, 15, 17, 50), 'artist': 'Amy Winehouse'})
('Match failed on: Artist/trackname', {'album': 'Rota 89 Vol 3  89.1 Fm', 'played_on_uts': '1233750637', 'name': 'Monday', 'played_on': datetime.datetime(2009, 2, 4, 12, 30), 'artist': u'Carlo Dallanese feat. [b][u]F\xe1bio[/u][/b] Castro'})
('Match failed on: Album', {'album': 'Perfil', 'played_on_uts': '1361378872', 'name': 'Jack Soul Brasileiro', 'played_on': datetime.datetime(2013, 2, 20, 16, 47), 'artist': 'Lenine'})
('Match failed on: Artist/trackname', {'album': 'LP', 'played_on_uts': '1224285197', 'name': "Can't Let Go", 'played_on': datetime.datetime(2008, 10, 17, 23, 13), 'artist': 'Landon Pigg'})
('Match failed on: Artist/trackname', {'album': "Amedeo Minghi: Cantare d'Amore", 'played_on_uts': '1356993871', 'name': "Cantare e d'Amore", 'played_on': datetime.datetime(2012, 12, 31, 22, 44), 'artist': 'Amedeo Minghi'})
('Match failed on: Artist/trackname', {'album': 'All The Stars and Boulevards', 'played_on_uts': '1217027286', 'name': 'Stars and Boulevards', 'played_on': datetime.datetime(2008, 7, 25, 23, 8), 'artist': 'Augustana'})
('Match failed on: Artist/trackname', {'album': 'Varrendo A Lua', 'played_on_uts': '1328881769', 'name': u'Sinal de Fuma[u][b]\xe7[/b][/u]a', 'played_on': datetime.datetime(2012, 2, 10, 13, 49), 'artist': 'Roberta Campos'})
('Match failed on: Artist/trackname', {'album': 'O Quintal Do Samba', 'played_on_uts': '1233880513', 'name': 'Papo De Samba', 'played_on': datetime.datetime(2009, 2, 6, 0, 35), 'artist': 'Fundo de Quintal'})
('Match failed on: Artist/trackname', {'album': 'Haughty Melodic', 'played_on_uts': '1226607935', 'name': 'Madeline and Nine', 'played_on': datetime.datetime(2008, 11, 13, 20, 25), 'artist': 'Mike Doughty'})
('Match failed on: Artist/trackname', {'album': 'Underage Thinking', 'played_on_uts': '1216846599', 'name': 'As We Get Older (Non Album Track)', 'played_on': datetime.datetime(2008, 7, 23, 20, 56), 'artist': 'Teddy Geiger'})
('Match failed on: Artist/trackname', {'played_on_uts': '1201131130', 'name': 'Tempos Modernos', 'played_on': datetime.datetime(2008, 1, 23, 23, 32), 'artist': u'Lul\xfa Santos'})
('Match failed on: Artist/trackname', {'album': 'Superior Sound of (1970-1975)', 'played_on_uts': '1233683962', 'name': 'Crocodile Rock', 'played_on': datetime.datetime(2009, 2, 3, 17, 59), 'artist': 'Elton John'})
('Match failed on: Artist/trackname', {'album': 'Rota 89 Vol 3  89.1 Fm', 'played_on_uts': '1233756914', 'name': u'I [b][u]Don\xb4t Know Why[/u][/b]', 'played_on': datetime.datetime(2009, 2, 4, 14, 15), 'artist': 'Moony'})
('Match failed on: Album', {'album': 'Greatest Hits', 'played_on_uts': '1344887559', 'name': 'Under the Bridge', 'played_on': datetime.datetime(2012, 8, 13, 19, 52), 'artist': 'Red Hot Chili Peppers'})
('Match failed on: Artist/trackname', {'album': 'Oxygen Custom Concert', 'played_on_uts': '1310573276', 'name': 'Breathe', 'played_on': datetime.datetime(2011, 7, 13, 16, 7), 'artist': 'Michelle Branch'})
('Match failed on: Artist/trackname', {'album': 'Reactivus Amor Est (Turba Philosophorum)', 'played_on_uts': '1233495643', 'name': 'Gabriel, Rafael, Miguel', 'played_on': datetime.datetime(2009, 2, 1, 13, 40), 'artist': 'Jorge Ben'})
('Match failed on: Album', {'album': u'Simples de Cora\xe7\xe3o', 'played_on_uts': '1217798936', 'name': 'A Promessa', 'played_on': datetime.datetime(2008, 8, 3, 21, 28), 'artist': 'Engenheiros Do Hawaii'})
('Match failed on: Artist/trackname', {'album': "Everybody Else Is Doing It, So Why Can't We?", 'played_on_uts': '1233094624', 'name': "I Can't Be With You", 'played_on': datetime.datetime(2009, 1, 27, 22, 17), 'artist': 'The Cranberries'})
('Match failed on: Artist/trackname', {'album': 'Hail to the Thief', 'played_on_uts': '1233954067', 'name': 'Sail to the Moon', 'played_on': datetime.datetime(2009, 2, 6, 21, 1), 'artist': 'Radiohead'})
('Match failed on: Artist/trackname', {'album': 'Album Brasiliano (cd2)', 'played_on_uts': '1215034164', 'name': u'Samba da b\xeanc\xe2o', 'played_on': datetime.datetime(2008, 7, 2, 21, 29), 'artist': 'Vinicius de Moraes'})
('Match failed on: Artist/trackname', {'album': 'Eu Vim Da Bahia', 'played_on_uts': '1200330412', 'name': 'Yemanja', 'played_on': datetime.datetime(2008, 1, 14, 17, 6), 'artist': 'Gilberto Gil'})
('Match failed on: Artist/trackname', {'album': 'Snow Blankets The Night', 'played_on_uts': '1216825613', 'name': 'I Found An Angel', 'played_on': datetime.datetime(2008, 7, 23, 15, 6), 'artist': 'Teddy Geiger'})
('Match failed on: Artist/trackname', {'album': 'Diga Sim', 'played_on_uts': '1233501367', 'name': u'Lux\xfaria', 'played_on': datetime.datetime(2009, 2, 1, 15, 16), 'artist': 'Isabella Taviani'})
('Match failed on: Artist/trackname', {'album': 'Broken Bracelet', 'played_on_uts': '1216816966', 'name': 'Second Chances', 'played_on': datetime.datetime(2008, 7, 23, 12, 42), 'artist': 'Michelle Branch'})
('Match failed on: Artist/trackname', {'album': 'In A Safe Place', 'played_on_uts': '1233964031', 'name': 'Thule', 'played_on': datetime.datetime(2009, 2, 6, 23, 47), 'artist': 'The Album Leaf'})
('Match failed on: Artist/trackname', {'album': u'In\xe9dito', 'played_on_uts': '1227221723', 'name': u'Por causa de voc\xea', 'played_on': datetime.datetime(2008, 11, 20, 22, 55), 'artist': u'Ant\xf4nio Carlos Jobim'})
('Match failed on: Artist/trackname', {'album': 'Leoni Ao Vivo', 'played_on_uts': '1232919055', 'name': 'Carro e Grana / A formula do..', 'played_on': datetime.datetime(2009, 1, 25, 21, 30), 'artist': 'Leoni'})
('Match failed on: Artist/trackname', {'album': 'Amor E Caos', 'played_on_uts': '1310767206', 'name': 'A Ana', 'played_on': datetime.datetime(2011, 7, 15, 22, 0), 'artist': u'Ana Ca\xf1as'})
('Match failed on: Album', {'album': u'20 Anos Antologia Ac\xfastica (Disco 1)', 'played_on_uts': '1233097222', 'name': 'Beira-Mar', 'played_on': datetime.datetime(2009, 1, 27, 23, 0), 'artist': u'Z\xe9 Ramalho'})
('Match failed on: Artist/trackname', {'album': 'Stomp The Yard', 'played_on_uts': '1225405329', 'name': "Ain't Nothing Wrong With That", 'played_on': datetime.datetime(2008, 10, 30, 22, 22), 'artist': 'Robert Randolph & The Family Band'})
('Match failed on: Artist/trackname', {'album': 'Marina Elali', 'played_on_uts': '1297597377', 'name': 'Conselhos', 'played_on': datetime.datetime(2011, 2, 13, 11, 42), 'artist': 'Marina Elali'})
('Match failed on: Artist/trackname', {'played_on_uts': '1201095270', 'name': u'Deusa da Ilus\xe3o', 'played_on': datetime.datetime(2008, 1, 23, 13, 34), 'artist': u'Lul\xfa Santos'})
('Match failed on: Artist/trackname', {'album': 'Chimarruts', 'played_on_uts': '1297600874', 'name': 'O Sol', 'played_on': datetime.datetime(2011, 2, 13, 12, 41), 'artist': 'Chimarruts'})
('Match failed on: Artist/trackname', {'album': u'Flores, Amores E Blablabl\xe1', 'played_on_uts': '1237511809', 'name': 'Tatuagem', 'played_on': datetime.datetime(2009, 3, 20, 1, 16), 'artist': 'Marjorie Estiano'})
('Match failed on: Album', {'album': 'The Very Best Of Aerosmith', 'played_on_uts': '1358864411', 'name': "Livin' on the Edge", 'played_on': datetime.datetime(2013, 1, 22, 14, 20), 'artist': 'Aerosmith'})
('Match failed on: Artist/trackname', {'album': 'Gran Turismo', 'played_on_uts': '1310681655', 'name': 'Do You Believe', 'played_on': datetime.datetime(2011, 7, 14, 22, 14), 'artist': 'The Cardigans'})
('Match failed on: Artist/trackname', {'album': 'Under My Skin', 'played_on_uts': '1216844163', 'name': 'Fall to Pieces', 'played_on': datetime.datetime(2008, 7, 23, 20, 16), 'artist': 'Avril Lavigne'})
('Match failed on: Artist/trackname', {'album': 'Claudia Leitte', 'played_on_uts': '1342130827', 'name': u'P\xe1ssaros', 'played_on': datetime.datetime(2012, 7, 12, 22, 7), 'artist': 'Claudia Leitte'})
('Match failed on: Album', {'album': 'Multishow Ao Vivo', 'played_on_uts': '1356651941', 'name': 'Fogo', 'played_on': datetime.datetime(2012, 12, 27, 23, 45), 'artist': 'Capital Inicial'})
('Match failed on: Artist/trackname', {'album': u'Forr\xf3 Hits', 'played_on_uts': '1297591933', 'name': 'chome liga', 'played_on': datetime.datetime(2011, 2, 13, 10, 12), 'artist': u'Avi\xf5es do Forr\xf3'})
('Match failed on: Artist/trackname', {'album': u'Pensei Que Fosse O C\xe9u', 'played_on_uts': '1233087586', 'name': 'Passional', 'played_on': datetime.datetime(2009, 1, 27, 20, 19), 'artist': 'Vander Lee e Zeca Baleiro'})
('Match failed on: Artist/trackname', {'album': 'The Family Jewels', 'played_on_uts': '1310673384', 'name': "Mowgli's Road", 'played_on': datetime.datetime(2011, 7, 14, 19, 56), 'artist': 'Marina & the Diamonds'})
('Match failed on: Artist/trackname', {'album': 'Proof Of Youth', 'played_on_uts': '1233949584', 'name': 'Grip Like A Vice', 'played_on': datetime.datetime(2009, 2, 6, 19, 46), 'artist': 'The Go! Team'})
('Match failed on: Artist/trackname', {'album': 'Ao Vivo em Todos os Sentidos', 'played_on_uts': '1336159528', 'name': 'na primeira manha', 'played_on': datetime.datetime(2012, 5, 4, 19, 25), 'artist': u'Alceu Valen\xe7a'})
('Match failed on: Artist/trackname', {'album': 'Two', 'played_on_uts': '1216828285', 'name': 'Your Hope', 'played_on': datetime.datetime(2008, 7, 23, 15, 51), 'artist': 'The Calling'})
('Match failed on: Artist/trackname', {'album': 'Nativus', 'played_on_uts': '1216302641', 'name': 'Deixa O Menino Jogar', 'played_on': datetime.datetime(2008, 7, 17, 13, 50), 'artist': 'Natiruts'})
('Match failed on: Artist/trackname', {'album': 'Opaline', 'played_on_uts': '1233863813', 'name': 'Angels or Devils', 'played_on': datetime.datetime(2009, 2, 5, 19, 56), 'artist': 'Dishwalla'})
('Match failed on: Artist/trackname', {'album': u'Jovem Nerd \xbb Nerdcast', 'played_on_uts': '1226582371', 'name': 'Nerdcast 117 - Brinquedos dos anos 80 - Parte 1', 'played_on': datetime.datetime(2008, 11, 13, 13, 19), 'artist': u'NC117 - Alottoni, Sra. Jovem Nerd, Tucano, Portuguesa e Azagh\xe2l, o an\xe3o'})
('Match failed on: Artist/trackname', {'album': u'Peixes, P\xe1ssaros, Pessoas', 'played_on_uts': '1310902882', 'name': u'T\xe1?', 'played_on': datetime.datetime(2011, 7, 17, 11, 41), 'artist': 'Mariana Aydar'})
('Match failed on: Album', {'album': 'Multishow ao Vivo: Dois Quartos', 'played_on_uts': '1233625119', 'name': u'Eu que n\xe3o sei quase nada do mar', 'played_on': datetime.datetime(2009, 2, 3, 1, 38), 'artist': 'Ana Carolina'})
('Match failed on: Artist/trackname', {'album': 'Amor A Arte', 'played_on_uts': '1226093377', 'name': u'Um Certo Algu\xe9m (Ao Vivo)', 'played_on': datetime.datetime(2008, 11, 7, 21, 29), 'artist': 'Lulu Santos'})
('Match failed on: Artist/trackname', {'album': 'Live Sessions EP', 'played_on_uts': '1310734869', 'name': 'Boys With Girlfriends (Acoustic)', 'played_on': datetime.datetime(2011, 7, 15, 13, 1), 'artist': 'Meiko'})
('Match failed on: Artist/trackname', {'album': 'Amy Winehouse at the BBC', 'played_on_uts': '1355689137', 'name': 'Lullaby of Birdland', 'played_on': datetime.datetime(2012, 12, 16, 20, 18), 'artist': 'Amy Winehouse'})
('Match failed on: Artist/trackname', {'album': 'Doll Domination', 'played_on_uts': '1352815840', 'name': 'When I Grow Up', 'played_on': datetime.datetime(2012, 11, 13, 14, 10), 'artist': 'The Pussycat Dolls'})
('Match failed on: Artist/trackname', {'album': u'A Gente Se V\xea Depois da Chuva', 'played_on_uts': '1310566937', 'name': u'A Gente Se V\xea Depois Da Chuva', 'played_on': datetime.datetime(2011, 7, 13, 14, 22), 'artist': 'Tomate'})
('Match failed on: Artist/trackname', {'album': 'Past to Present 1977-1990', 'played_on_uts': '1223151931', 'name': 'Africa', 'played_on': datetime.datetime(2008, 10, 4, 20, 25), 'artist': 'Toto'})
('Match failed on: Artist/trackname', {'album': u'Onde Voc\xea Estiver', 'played_on_uts': '1310571282', 'name': u'Imposs\xedvel', 'played_on': datetime.datetime(2011, 7, 13, 15, 34), 'artist': 'Seu Cuca'})
('Match failed on: Artist/trackname', {'album': 'Ta Na Boa', 'played_on_uts': '1229045753', 'name': 'Humanidade', 'played_on': datetime.datetime(2008, 12, 12, 1, 35), 'artist': u'Tianast\xe1cia'})
('Match failed on: Artist/trackname', {'album': 'Ivete Sangalo', 'played_on_uts': '1233497614', 'name': 'A Lua Q Eu T Dei', 'played_on': datetime.datetime(2009, 2, 1, 14, 13), 'artist': 'Ivete Sangalo'})
('Match failed on: Artist/trackname', {'album': 'Total Club Hits Vol. 2', 'played_on_uts': '1235245839', 'name': 'Killa', 'played_on': datetime.datetime(2009, 2, 21, 19, 50), 'artist': 'Cherish'})
('Match failed on: Album', {'album': u'M\xfasicas para Churrasco', 'played_on_uts': '1359841560', 'name': 'Vizinha', 'played_on': datetime.datetime(2013, 2, 2, 21, 46), 'artist': 'Seu Jorge'})
('Match failed on: Artist/trackname', {'album': u'Ac\xfastico', 'played_on_uts': '1233878311', 'name': 'Feriado Nacional', 'played_on': datetime.datetime(2009, 2, 5, 23, 58), 'artist': 'Bruno & Marrone'})
('Match failed on: Artist/trackname', {'album': 'OK Go', 'played_on_uts': '1216821046', 'name': 'Get Over It', 'played_on': datetime.datetime(2008, 7, 23, 13, 50), 'artist': 'OK Go'})
('Match failed on: Artist/trackname', {'album': 'Universal Audio', 'played_on_uts': '1225403119', 'name': 'I Fought The Angels', 'played_on': datetime.datetime(2008, 10, 30, 21, 45), 'artist': 'The Delgados'})
('Match failed on: Album', {'album': 'The Jackson 5 - The Greatest Hits [1971]', 'played_on_uts': '1363254944', 'name': 'I Want You Back', 'played_on': datetime.datetime(2013, 3, 14, 9, 55), 'artist': 'The Jackson 5'})
('Match failed on: Artist/trackname', {'album': 'fear', 'played_on_uts': '1217992268', 'name': 'All I Want', 'played_on': datetime.datetime(2008, 8, 6, 3, 11), 'artist': 'Toad The Wet Sprocket'})
('Match failed on: Artist/trackname', {'played_on_uts': '1328710763', 'name': 'Gandaia das ondas/Pedra e areia', 'played_on': datetime.datetime(2012, 2, 8, 14, 19), 'artist': 'Luiza Possi'})
('Match failed on: Artist/trackname', {'album': 'Nada pode parar os Autoramas', 'played_on_uts': '1216947576', 'name': 'Nada a ver', 'played_on': datetime.datetime(2008, 7, 25, 0, 59), 'artist': 'Autoramas'})
('Match failed on: Artist/trackname', {'album': 'Bird On A Wire', 'played_on_uts': '1224895790', 'name': 'My Sweet Song', 'played_on': datetime.datetime(2008, 10, 25, 0, 49), 'artist': 'Toby Lightman'})
('Match failed on: Artist/trackname', {'album': 'Transatlanticism', 'played_on_uts': '1233966218', 'name': 'Passenger Seat', 'played_on': datetime.datetime(2009, 2, 7, 0, 23), 'artist': 'Death Cab for Cutie'})
('Match failed on: Artist/trackname', {'album': 'Rota 89 Vol 3  89.1 Fm', 'played_on_uts': '1233685305', 'name': 'Put Your Hands Up For Detroit', 'played_on': datetime.datetime(2009, 2, 3, 18, 21), 'artist': 'Fedde Le Grand'})
('Match failed on: Artist/trackname', {'album': 'Segundo', 'played_on_uts': '1200338039', 'name': 'Casa Pre- Fabricada', 'played_on': datetime.datetime(2008, 1, 14, 19, 13), 'artist': 'Maria Rita'})
('Match failed on: Artist/trackname', {'album': "We've All Been There", 'played_on_uts': '1360071055', 'name': 'Euphoria', 'played_on': datetime.datetime(2013, 2, 5, 13, 30), 'artist': 'Alex Band'})
('Match failed on: Album', {'album': u'20 Anos Antologia Ac\xfastica', 'played_on_uts': '1348694262', 'name': u'Ch\xe3o De Giz', 'played_on': datetime.datetime(2012, 9, 26, 21, 17), 'artist': u'Z\xe9 Ramalho'})
('Match failed on: Album', {'album': 'Universal Music Remix', 'played_on_uts': '1292763985', 'name': 'Rise Up', 'played_on': datetime.datetime(2010, 12, 19, 13, 6), 'artist': 'Yves Larock'})
('Match failed on: Artist/trackname', {'album': 'Entrada para Raros', 'played_on_uts': '1328535694', 'name': 'Ana e o mar', 'played_on': datetime.datetime(2012, 2, 6, 13, 41), 'artist': u'O Teatro M\xe1gico'})
('Match failed on: Artist/trackname', {'album': 'Long Play', 'played_on_uts': '1359740169', 'name': u'Seu anivers\xe1rio (Remix)', 'played_on': datetime.datetime(2013, 2, 1, 17, 36), 'artist': 'Lulu Santos'})
('Match failed on: Artist/trackname', {'album': 'Rota 89 Vol 3  89.1 Fm', 'played_on_uts': '1233759496', 'name': 'Out Of My Mind', 'played_on': datetime.datetime(2009, 2, 4, 14, 58), 'artist': 'Lasgo'})
('Match failed on: Artist/trackname', {'album': 'O Grande Encontro 3', 'played_on_uts': '1310668640', 'name': 'Frisson', 'played_on': datetime.datetime(2011, 7, 14, 18, 37), 'artist': 'Elba Ramalho'})
('Match failed on: Album', {'album': 'Abbey Road', 'played_on_uts': '1361375899', 'name': 'I Want to Hold Your Hand', 'played_on': datetime.datetime(2013, 2, 20, 15, 58), 'artist': 'The Beatles'})
('Match failed on: Artist/trackname', {'album': 'The Best of the Corrs', 'played_on_uts': '1294692699', 'name': 'Runaway', 'played_on': datetime.datetime(2011, 1, 10, 20, 51), 'artist': 'The Corrs'})


I believe that to be a incompatibility encoding files.
You can take a look?
Thank you!

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

Post by rovingcowboy » Mon Apr 01, 2013 12:10 am

Thank you Psyker7 8)

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

Post by Psyker7 » Sun Mar 31, 2013 11:53 pm

Updated!

Code: Select all
Fixed some errors in XML exported by last.fm
Also updated some of the retry logic to allow clean failures if
required, and to kill the pools if we get an error so resuming is
quicker (if an HTTP connection hangs)


http://psykar.com/script-files/LastFmImport-3.3.mmip

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

Post by epiq » Sun Mar 24, 2013 5:57 am

Ok, good luck . i will not disturb you more )

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

Post by Psyker7 » Sun Mar 24, 2013 5:41 am

epiq wrote:
Well, who knows what you were actually listening to, but this is the page causing everything to hiccup (even my browser doesn't like it)

http://ws.audioscrobbler.com/2.0/?metho ... 1188601200

Unfortunately last.fm still hasn't fixed this:
http://www.last.fm/group/Last.fm+Web+Se ... 4/_/626352


I have suspected something like that, but may be we can just ignore this errors?

I think , that Vandelay add-on for Songbird (http://addons.songbirdnest.com/addon/1458) also done skipping of this errors because it's always make counter's import from my last.fm account without any error messages.
Yeah I've got a work around, it's annoying and hacky though. Testing it at the moment with a fresh run on your account. It might take a while obviously, but I'd prefer it to complete before I release the update.

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

Post by epiq » Sun Mar 24, 2013 5:07 am

Well, who knows what you were actually listening to, but this is the page causing everything to hiccup (even my browser doesn't like it)

http://ws.audioscrobbler.com/2.0/?metho ... 1188601200

Unfortunately last.fm still hasn't fixed this:
http://www.last.fm/group/Last.fm+Web+Se ... 4/_/626352


I have suspected something like that, but may be we can just ignore this errors?

I think , that Vandelay add-on for Songbird (http://addons.songbirdnest.com/addon/1458) also done skipping of this errors because it's always make counter's import from my last.fm account without any error messages.

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

Post by Psyker7 » Sun Mar 24, 2013 3:35 am

epiq wrote:
Your username seems to have some quirks
I have at least got it to save it's current progress when the error is raised, but haven't been able to find the specific error as yet. Hoping to get a bit more time on it over the weekend!

huh ;)
last few years i have used Songbird for my huge music library ( ~100k files) -they have amazing mash tape and other cute thing's but now moved to mediamonkey away from annoying repeated library crashes in Songbird.
only one thing i can't do now - make import of played counter's from last.fm - but i hope for success)

Well, who knows what you were actually listening to, but this is the page causing everything to hiccup (even my browser doesn't like it)

http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=epiq&api_key=daadfc9c6e9b2c549527ccef4af19adb&page=3&limit=200&from=1188518400&to=1188601200

Unfortunately last.fm still hasn't fixed this:
http://www.last.fm/group/Last.fm+Web+Services/forum/21604/_/626352

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

Post by epiq » Sat Mar 23, 2013 7:35 am

Your username seems to have some quirks
I have at least got it to save it's current progress when the error is raised, but haven't been able to find the specific error as yet. Hoping to get a bit more time on it over the weekend!

huh ;)
last few years i have used Songbird for my huge music library ( ~100k files) -they have amazing mash tape and other cute thing's but now moved to mediamonkey away from annoying repeated library crashes in Songbird.
only one thing i can't do now - make import of played counter's from last.fm - but i hope for success)

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

Post by Psyker7 » Thu Mar 21, 2013 6:45 pm

epiq wrote:
Psyker7 wrote:
epiq wrote:Now - same error , but
Error was encountered, rerunning will resume where you left off
<class "lastfm.error.OperationFailedError'>:Error in parsing XML: not well-formed (invalid token): line 2410, column 58
May be I can take that XML and fix it manually?

I'm doing some testing now. The XML is what last.fm gives us, and it's damn annoying if they give us badly formed XML.
I'll see what I can do.

Thanks, a lot!
I will looking forward for any results ;)

Your username seems to have some quirks :P
I have at least got it to save it's current progress when the error is raised, but haven't been able to find the specific error as yet. Hoping to get a bit more time on it over the weekend!

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

Post by epiq » Thu Mar 21, 2013 4:16 pm

Psyker7 wrote:
epiq wrote:Now - same error , but
Error was encountered, rerunning will resume where you left off
<class "lastfm.error.OperationFailedError'>:Error in parsing XML: not well-formed (invalid token): line 2410, column 58
May be I can take that XML and fix it manually?

I'm doing some testing now. The XML is what last.fm gives us, and it's damn annoying if they give us badly formed XML.
I'll see what I can do.

Thanks, a lot!
I will looking forward for any results ;)

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

Post by Psyker7 » Mon Mar 18, 2013 3:41 am

epiq wrote:Now - same error , but
Error was encountered, rerunning will resume where you left off
<class "lastfm.error.OperationFailedError'>:Error in parsing XML: not well-formed (invalid token): line 2410, column 58
May be I can take that XML and fix it manually?

I'm doing some testing now. The XML is what last.fm gives us, and it's damn annoying if they give us badly formed XML.
I'll see what I can do.

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

Post by Psyker7 » Mon Mar 18, 2013 3:38 am

thiagorobis wrote:Is this script working well at Windows 8?
I tried with my Win8 64bits and MediaMonkey last version stable and the script dosen't work, even open after install.
I'm using python beta version. No error was showed.
Thanks

Can't test Windows 8 I'm afraid.

Try the current version (not the beta) - 3.2: http://psykar.com/script-files/LastFmImport-3.2.mmip

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

Post by thiagorobis » Sat Mar 16, 2013 1:19 pm

Is this script working well at Windows 8?
I tried with my Win8 64bits and MediaMonkey last version stable and the script dosen't work, even open after install.
I'm using python beta version. No error was showed.
Thanks

Top