Page 5 of 29

Posted: Thu Jan 31, 2008 4:13 pm
by Teknojnky
Script updated.. see first post! 8)

Posted: Thu Jan 31, 2008 4:18 pm
by aidan_cage
Invalid Product Installation Package.

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

:-?

Posted: Thu Jan 31, 2008 4:21 pm
by Teknojnky
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.

Posted: Thu Jan 31, 2008 4:25 pm
by Teknojnky
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).

Posted: Thu Jan 31, 2008 4:46 pm
by aidan_cage
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

Posted: Thu Jan 31, 2008 4:52 pm
by Teknojnky
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.

Posted: Thu Jan 31, 2008 4:58 pm
by nohitter151
This is so cool! Thanks Tekno!

Posted: Fri Feb 01, 2008 2:51 am
by drjboulder
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.

Posted: Fri Feb 01, 2008 3:17 am
by Big_Berny
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

Posted: Fri Feb 01, 2008 9:28 am
by Teknojnky
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).

Absolutely amazing

Posted: Sat Feb 02, 2008 2:07 am
by OlivesInNZ
Thank you for sharing a truly impressive (and useful!) work of art...
Kevin

Posted: Sun Feb 03, 2008 5:45 pm
by Guest
He says: "no similar tracks found". But he founds song. When I try it first it works. but now....help!

Posted: Mon Feb 04, 2008 12:42 am
by Teknojnky
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..

Posted: Mon Feb 04, 2008 5:58 am
by drjboulder
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!!!

Posted: Mon Feb 04, 2008 7:44 am
by Guest
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!