Last.FM Node: dynamic node based on last.fm 2020.04.19 [MM3][MM4]

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

Moderators: Peke, Gurus

cdiamond

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by cdiamond »

Hi

I seem to be having an issue in that the script recognizes and logs when a track as been played within the limit on track repeats within a certain timeframe, but after the line GenerateRecentArtist in the log, no artists are ever found (ie it does not record what artists were played recently), which often results in too much of the same artist (and I have do not repeat same artist at two days). What is going on? I have windows 7 btdubs
tooone7
Posts: 39
Joined: Tue Jan 04, 2011 7:17 am

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by tooone7 »

Hi

Thank you very much for this script. It is excellent! I love it even more because i used Last.fm almost exclusively for creating my music library. And to have this play all similar artist together is just plain awesome!

Thanks :)
Turborage

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by Turborage »

I don't usually post, but I had to thank you for this add on for MediaMonkey. I absolutely love it. It makes me so much happier that I have stumbled upon MediaMonkey, it is making my home music experience so much more enjoyable. Thank you so much, and I hope you will continue to support this add on and potentially consider making more add ons.
Antono
Posts: 10
Joined: Sat Apr 11, 2009 10:53 am

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by Antono »

I can't remove artists and tags from favorites.

I tried to edit LastFMNode.vbs.ini but it is empty and it's size is zero bytes. Deleting it doesn't help.

Strangely enough, if I start MM as administrator, the Last.FM Node favorites list is empty.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by Teknojnky »

Antono wrote:I can't remove artists and tags from favorites.

I tried to edit LastFMNode.vbs.ini but it is empty and it's size is zero bytes. Deleting it doesn't help.

Strangely enough, if I start MM as administrator, the Last.FM Node favorites list is empty.
win7/vista? are you running MM 4 ?

sounds like the script is installed to your user profile instead of all users, you might try looking under your user profile folder (uncheck hide system/hidden files)
Antono
Posts: 10
Joined: Sat Apr 11, 2009 10:53 am

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by Antono »

Teknojnky wrote:
Antono wrote:I can't remove artists and tags from favorites.

I tried to edit LastFMNode.vbs.ini but it is empty and it's size is zero bytes. Deleting it doesn't help.

Strangely enough, if I start MM as administrator, the Last.FM Node favorites list is empty.
win7/vista? are you running MM 4 ?

sounds like the script is installed to your user profile instead of all users, you might try looking under your user profile folder (uncheck hide system/hidden files)
Windows Vista, MM 3.2.4.

You were right, that was exactly what had happened. The .ini was in my user profile folder. I edited it -> problem solved. Thanks!
tybeet

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by tybeet »

I tried the other alternatives (Last.fm DJ, Scrobbler DJ) but they don't seem to fetch anything. Glad to see this one actually does what it says on the tin! Nice work.
jamburglar
Posts: 84
Joined: Fri Jun 10, 2011 6:11 am

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by jamburglar »

Small issue but I'm just wondering, is there any way for the node's text to just display "Last.FM Node" instead of "Last.FM Node (Artist - Track)". I'd like to get rid of the huge horizontal scrollbar in the Media Tree that this creates.
Image
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by Teknojnky »

open the lastfmnode.vbs file with note pad and comment out inside the sub updatecaption()

Code: Select all

Sub UpdateCaption()
'   If SDB.IniFile.BoolValue(Prefs,"Enabled") = True Then
'     SDB.Objects("LastFMNode").Caption = "Last.FM Node" &_
'       " (" & SDB.Player.CurrentSong.ArtistName &_
'       " - " & SDB.Player.CurrentSong.Title & ")"
'     SDB.MainTree.Refresh
'   End If
End Sub
jamburglar
Posts: 84
Joined: Fri Jun 10, 2011 6:11 am

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by jamburglar »

Teknojnky wrote:open the lastfmnode.vbs file with note pad and comment out inside the sub updatecaption()

Code: Select all

Sub UpdateCaption()
'   If SDB.IniFile.BoolValue(Prefs,"Enabled") = True Then
'     SDB.Objects("LastFMNode").Caption = "Last.FM Node" &_
'       " (" & SDB.Player.CurrentSong.ArtistName &_
'       " - " & SDB.Player.CurrentSong.Title & ")"
'     SDB.MainTree.Refresh
'   End If
End Sub
Tremendous. Thanks so much. :)
Image
booblers
Posts: 97
Joined: Sat Sep 27, 2008 6:57 pm

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by booblers »

deleting my posts since forum moderators see fit to delete honest posts. just helping to make their job easier. nothing to see here.
Last edited by booblers on Mon Jan 09, 2012 11:07 pm, edited 1 time in total.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by Teknojnky »

you can post them if you like, I don't have any immediate plans to update anything, but if I do I'll take a look at adding your changes.
booblers
Posts: 97
Joined: Sat Sep 27, 2008 6:57 pm

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by booblers »

deleting my posts since forum moderators see fit to delete honest posts. just helping to make their job easier. nothing to see here.
Last edited by booblers on Mon Jan 09, 2012 11:07 pm, edited 1 time in total.
nightflight

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by nightflight »

Hi,

First of all, thanks for the great plugin. It has served me well for years. You probably know this already, but now it seems it's broken due to last.fm changing of the API.

This it the log:

Code: Select all

05/10/2011 18:46:55: GenerateRecentArtists: begin
05/10/2011 18:46:55:   TooSoonList :> 
05/10/2011 18:46:55:   TooSoonList adding current track artist :> Tanita Tikaram
05/10/2011 18:46:55: GenerateRecentArtists: finished with 2
05/10/2011 18:46:55: GetSimilarTracks: begin
05/10/2011 18:46:55: >> fixurl() entered with: Tanita Tikaram
05/10/2011 18:46:55: << fixurl will return with: Tanita+Tikaram
05/10/2011 18:46:55: >> fixurl() entered with: Little Sister Leaving Town
05/10/2011 18:46:55: << fixurl will return with: Little+Sister+Leaving+Town
05/10/2011 18:46:55: >> LoadXML: Begin with Tanita+Tikaram/Little+Sister+Leaving+Town & SimilarTracks
05/10/2011 18:46:55:  xmlDoc.Load: Init Query Last.FM: http://ws.audioscrobbler.com/1.0/track/Tanita+Tikaram/Little+Sister+Leaving+Town/similar.xml
05/10/2011 18:46:55:  xmlDoc.Load: Waiting for Last.FM to return SimilarTracks of Tanita+Tikaram/Little+Sister+Leaving+Town
05/10/2011 18:46:55:  xmlDoc: returned from loop in: 0.1875
05/10/2011 18:46:55: Last.FM Query Failed @ 0ReadyState: 3 URL: http://ws.audioscrobbler.com/1.0/track/Tanita+Tikaram/Little+Sister+Leaving+Town/similar.xml
05/10/2011 18:46:55: << LoadXML: Finished in --> 0
05/10/2011 18:46:55:  GetSimilarTracks: finished with # of tracks :> 0
05/10/2011 18:46:55:  GetSimilarTracks Failed to return any results, DJSongList Empty try similar artists
05/10/2011 18:46:55:  Prune SimilarTracks did not return any valid tracks, trying Similar artists
05/10/2011 18:46:55: GetSimilarArtists: begin with :> Tanita Tikaram
05/10/2011 18:46:55: >> LoadXML: Begin with Tanita Tikaram & SimilarArtists
05/10/2011 18:46:55: >> fixurl() entered with: Tanita Tikaram
05/10/2011 18:46:55: << fixurl will return with: Tanita+Tikaram
05/10/2011 18:46:55:  xmlDoc.Load: Init Query Last.FM: http://ws.audioscrobbler.com/1.0/artist/Tanita+Tikaram/similar.xml
05/10/2011 18:46:55:  xmlDoc.Load: Waiting for Last.FM to return SimilarArtists of Tanita Tikaram
05/10/2011 18:46:55:  xmlDoc: returned from loop in: 0.0625
05/10/2011 18:46:55: Last.FM Query Failed @ 0ReadyState: 3 URL: http://ws.audioscrobbler.com/1.0/artist/Tanita+Tikaram/similar.xml
05/10/2011 18:46:55: << LoadXML: Finished in --> 0
05/10/2011 18:46:55:  SimilarArtist returned as Nothing
05/10/2011 18:46:55: GetSimilarArtists: finished with :> 0
05/10/2011 18:46:55:  Similar Artists appears empty, adding a random track and exiting
05/10/2011 18:46:55:  all else failed, adding random track
05/10/2011 18:46:56: << DJ event: finished
Basically, what seems to be happening is that Last.fm really doesn't return anything. If you go to their website, the official API address is now http://ws.audioscrobbler.com/2.0 (was 1.0) and the call structure seems to be different as well.

Any chance you could update the script?
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: Last.FM Node: dynamic node based on last.fm 2009.08.17 [

Post by Teknojnky »

it still works fine for me, but it looks like there is simply no similar tracks (yet) for that song

http://www.last.fm/music/Tanita+Tikaram ... n/+similar

It is either too new, or not popular enough, or last fm has not generated the similar tracks data yet.
Post Reply