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

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Postby Teknojnky » Thu Jan 31, 2008 4:13 pm

Script updated.. see first post! 8)
Teknojnky
 
Posts: 5508
Joined: Tue Sep 06, 2005 11:01 pm

Postby aidan_cage » Thu Jan 31, 2008 4:18 pm

Invalid Product Installation Package.

^|__ This is the error I receive when I try to download and install your MMIP

:-?
aidan_cage
 
Posts: 291
Joined: Mon Dec 11, 2006 9:45 pm

Postby Teknojnky » Thu Jan 31, 2008 4:21 pm

aidan_cage wrote:Invalid Product Installation Package.

^|__ This is the error I receive when I try to download and install your MMIP

:-?



arg, so do I.

you can try open it with zip program and manually copy lastfmnode.vbs to script\auto folder until I figure out issue.
Teknojnky
 
Posts: 5508
Joined: Tue Sep 06, 2005 11:01 pm

Postby Teknojnky » Thu Jan 31, 2008 4:25 pm

Ok try now, I accidently left one of the sample comments in the install.ini file.

You will probly have to restart MM for it to work properly, but from now should auto-update inplace properly (if not I will need to find problem).
Teknojnky
 
Posts: 5508
Joined: Tue Sep 06, 2005 11:01 pm

Postby aidan_cage » Thu Jan 31, 2008 4:46 pm

Great! Works great.
I had to delete the previous one from the Auto folder, but that was easy.
COOL!
I find the Auto DJ to often time out, or not find a track to load.
I wouldn't mind an option to add the list of tracks found when I click the "LastFM Node" Node directly to the Now Playing List. This way a longer list of tracks could be added to the list right off, and when the last song is reached maybe that song could automatically trigger the Node to call up the similar tracks for it from Last FM. But whatever--it is working really well as is.

Thanks again!
PEACE
aidan_cage
 
Posts: 291
Joined: Mon Dec 11, 2006 9:45 pm

Postby Teknojnky » Thu Jan 31, 2008 4:52 pm

Does the xmlqry time out, or the 'searching' time out?

right now, dj mode is limited to 25 seconds max, including loadxml time (you can change time out variable at top of script).. this is to help avoid very long search lists and in case a short time track is played.. (ie intro track or something).

But if loadxml takes long time, it does not leave much time for search.

Also, if you don't have any matches or 'pruned' tracks, the queue stops.

Later plans to include additional search modes and a lastcase queue random track if no other tracks found (ie not connected to internet, or last.fm is down).


aidan_cage wrote:I wouldn't mind an option to add the list of tracks found when I click the "LastFM Node" Node directly to the Now Playing List. This way a longer list of tracks could be added to the list right off, and when the last song is reached maybe that song could automatically trigger the Node to call up the similar tracks for it from Last FM. But whatever--it is working really well as is.


Well you can always press Control-A (select all) and press enter to queue if you wanted the while node list (or select the ones you want and press enter, etc).

I can think about if adding to the toolbar menu makes sense.
Last edited by Teknojnky on Thu Jan 31, 2008 5:03 pm, edited 1 time in total.
Teknojnky
 
Posts: 5508
Joined: Tue Sep 06, 2005 11:01 pm

Postby nohitter151 » Thu Jan 31, 2008 4:58 pm

This is so cool! Thanks Tekno!
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
nohitter151
 
Posts: 21448
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA

Postby drjboulder » Fri Feb 01, 2008 2:51 am

Teknojnky wrote:Script updated.. see first post! 8)


:o :o :o

This script has gone beyond awesome into something indescribable!!!

You have created a monster.
D Rock
Image
MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...
drjboulder
 
Posts: 1119
Joined: Mon Apr 09, 2007 12:03 am
Location: Boulder, Colorado, USA

Postby Big_Berny » Fri Feb 01, 2008 3:17 am

Yeah, great script! :D
Welcome to my signature! ;)

One possible optimization: If you click on an artist which isn't in your database at all, there's no need to check single songs, right?

Nice work! :)
Big_Berny
Image
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 2.4.3 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design
Big_Berny
 
Posts: 1779
Joined: Mon Nov 28, 2005 11:55 am
Location: Switzerland

Postby Teknojnky » Fri Feb 01, 2008 9:28 am

Thanks for the kind words all!

Big_Berny wrote:Yeah, great script! :D
Welcome to my signature! ;)

One possible optimization: If you click on an artist which isn't in your database at all, there's no need to check single songs, right?

Nice work! :)
Big_Berny


Yes is good idea, that should be done in the sql qry phase check for artist exist before doing track search. Now that I think about it, I could then change the icon or nodename for artists not found in library (so they are still shown, but you can see no tracks).
Teknojnky
 
Posts: 5508
Joined: Tue Sep 06, 2005 11:01 pm

Absolutely amazing

Postby OlivesInNZ » Sat Feb 02, 2008 2:07 am

Thank you for sharing a truly impressive (and useful!) work of art...
Kevin
OlivesInNZ
 
Posts: 6
Joined: Thu Dec 20, 2007 4:30 pm

Postby Guest » Sun Feb 03, 2008 5:45 pm

He says: "no similar tracks found". But he founds song. When I try it first it works. but now....help!
Guest
 

Postby Teknojnky » Mon Feb 04, 2008 12:42 am

Anonymous wrote:He says: "no similar tracks found". But he founds song. When I try it first it works. but now....help!


Perhaps you have still enabled 'auto-dj' (play menu > auto-dj uncheck) or scrobbler dj script on?

@ any xml-guru's

I spent a little time trying to figure out if there is an easy way to get the 'count' of an xml.. but I didn't see anything

For example, I want to try to account for stuff like this..

Code: Select all
  <?xml version="1.0" encoding="UTF-8" ?>
  <similartracks />


where xml load succeeds but there is no data in the xml

Something similar to sdb.songlist.count but for an xml doc..

I guess I could check for a 'blank' childnodes(x).text but that doesn't seem very clean like simply being able to get a total count to begin with.

I haven't had as much time as I like this weekend to work on the script, but I did manage to get the 'artist too soon' check working (much thanks to Bex for his help on sql query's). I still need to get a working save/load nodes (I think I am trying to be more complicated than I need to be and its frying my brain), and I want to polish up the dj mode and add one other main node before I can call it relatively feature complete then work on any feature enhancements and efficiency improvements..
Teknojnky
 
Posts: 5508
Joined: Tue Sep 06, 2005 11:01 pm

Postby drjboulder » Mon Feb 04, 2008 5:58 am

Teknojnky wrote:Perhaps you have still enabled 'auto-dj' (play menu > auto-dj uncheck) or scrobbler dj script on?


I inherently turn all other auto-DJ functions off when using this.

Last time I opened the Monkey, forgot to turn "Scrobbler" off, yet there was no conflict! They both loaded songs.

Could lead to some interesting "DJ'ing". :lol:

EDIT: Played with it a little...
and yea, they both are adding a song without conflict.

Very nice.... Scrobbler decides on a song, LastFM Node picks one, both are added and played and then two more songs are added!!!
D Rock
Image
MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...
drjboulder
 
Posts: 1119
Joined: Mon Apr 09, 2007 12:03 am
Location: Boulder, Colorado, USA

Postby Guest » Mon Feb 04, 2008 7:44 am

Teknojnky wrote:
Anonymous wrote:He says: "no similar tracks found". But he founds song. When I try it first it works. but now....help!


Perhaps you have still enabled 'auto-dj' (play menu > auto-dj uncheck) or scrobbler dj script on? [...]

No, every other DJ is disabled. Often there is the mistake "insonglist.count was zero" before "lastfmautodj(): no similar tracks found". Has anyone a idea? I want this script to work with my mediamonkey 8)
Thank you!
Guest
 

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], rrfpacker and 8 guests