ScrobblerDJ v1.26, Let your music free!!!

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Postby Steegy » Thu Feb 02, 2006 6:55 pm

You have to run the script on the newest version of MediaMonkey: 2.5.2

Currently, you will have to download version 2.5.2 BETA 1 to make it work. As you can see, it's a beta version and could contain some unfixed bugs (but it also fixes some earlier bugs).

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Steegy
 
Posts: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

Postby psyXonova » Thu Feb 02, 2006 8:06 pm

Thanks Steegy, your answer covers me!!! :lol:
I am waiting for your comments too....

Judas, i like both of your suggestions, will be implemented in the next version. As for the problem you describe, i think that there must be an easy way to do this. I will think of it and answer you tomorrow (since is 4 am here now, and i have been DJing for 5 hours, my head is a shaker!!!)

Bex, i like your suggestion too. Definitely on the to do list. I think that i will do it when i will code the "offline" mode since both functions will have a lot in common

And finally...
ImageImageImageImageImage

Thanks to everyone for your good words and the support. That certainly is the main reason to continue improving this script....

Goodnight, see you tomorrow
psyXonova
 
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus

Postby Steegy » Thu Feb 02, 2006 8:53 pm

The code runs quite good, the idea and implementation seems excellent!

One bug with this combination (about line 275):
n = Playlist.Tracks.Count
i = Int(n * Rnd + 1)

I get errors here, the i seems to be too big for the playlist sometimes. I tried to solve it by using n = Playlist.Tracks.Count - 1 instead, but maybe you can also change i = Int(n * Rnd) with the same effect.
I didn't try any further a lot to see if the error really doesn't exist anymore.

Well, it's 2:50 in the night so I'll go sleeping (you probably notice from my language). We'll see tomorrow...

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Steegy
 
Posts: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

:-)

Postby judas » Fri Feb 03, 2006 12:11 am

Just to say once again:

THANKS::::I LOVE IT!!

[quote:Bex]It's almost to good to be true. I dont know if I should listen to the suggested song or click to the next one, just to see what comes up.
[/quote]

I thought i was the only one...i just wish i had a bigger library!!

:lol: :lol: :lol: :lol: :D :D :D :D :lol: :lol: :lol: :lol:
judas
 
Posts: 572
Joined: Thu Jun 02, 2005 11:26 pm
Location: Bogotá, Colombia

Postby psyXonova » Fri Feb 03, 2006 4:16 am

Steegy you are right, Int(n*Rnd) should work better. This change will be included in the new version.

Thanks a lot...
psyXonova
 
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus

Postby holterpolter » Fri Feb 03, 2006 8:49 am

Sometimes an error occur in line 290 col 3
Error # 424 Object required “SongObj”

But for me the error is not repeatable.
Perhaps you have an idea what I have to look for?
holterpolter
 
Posts: 292
Joined: Wed Feb 01, 2006 7:29 am
Location: Germany

Postby psyXonova » Fri Feb 03, 2006 8:52 am

Although still not sure, seems like this error occurs whenever Last.FM returns strange results (e.g. Empty Title, yes this happens).
I will try to isolate it and fix it.
Thanks for reporting it
psyXonova
 
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus

Postby Steegy » Fri Feb 03, 2006 9:14 am

FYI: This may be the same problem I have posted. It's probably the i that gets to big (out of index error) for the playlist, and returns a Null, Nothing, Empty or whatever...
In the function where you check accessibility, the error about the "SongObj" occurs because the SongObj that is received through the method call is not what it should be.
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Steegy
 
Posts: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

Postby psyXonova » Fri Feb 03, 2006 9:17 am

Hmmm, Steegy you are right....
Thats it....
I will post updated code imidiatelly
Thanks man :lol:
psyXonova
 
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus

Postby julzcompufreek » Fri Feb 03, 2006 9:33 pm

Wow! This is awsome!

And it really does work, I have heard songs that I havnt listen to for a while!

What would be really good would be for this to be implimented as part of the Auto-DJ feature in MM. For instance, instead of MM randomly selecting tracks from the library or playlists, you can select it so that it will select artists from Last.fm!

That would be cool. Developers I hope you are listening!
Julian aka julzcompufreek
"Dancing is a contact sport; football is a Hitting sport." - Vince Lombardi
Visit My Blog - http://kompufreak.wordpress.com
julzcompufreek
 
Posts: 440
Joined: Mon Jul 05, 2004 5:46 am
Location: Melbourne, Australia

ScrobblerDJ

Postby martyrs » Sat Feb 04, 2006 6:18 am

Fantastic script - played some tracks and artists I didn't know I had!! :D

martyrs
Image
martyrs
 
Posts: 30
Joined: Tue Oct 18, 2005 1:13 pm
Location: York, Yorkshire, UK

Postby Peke » Sat Feb 04, 2006 8:17 pm

1000% agreed. Sometimes it just make strange selections but unnoticable.
Best regards,
Pavle
MM Core Developer and Fan (check HAPPYMONKEYING Site)
Image
Image
Peke
 
Posts: 7551
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia

Postby Teknojnky » Mon Feb 06, 2006 3:15 pm

Love the script, so far my only suggestion is a user selectable number of queued songs.

IE instead of just queuing one song from lastfm/library, let the user select queue 1-10 or so.
Teknojnky
 
Posts: 5508
Joined: Tue Sep 06, 2005 11:01 pm

Postby Teknojnky » Mon Feb 06, 2006 4:06 pm

Just had another idea..

It would be cool if you could add this script to the "Play" menu where the 'auto-dj, shuffle, and continuous' play options are.

This could solve 2 problems with one solution... how to see if last.fm-dj is enabled, and to disable auto-dj and shuffle (auto disable them when selecting last.fm-dj).
Teknojnky
 
Posts: 5508
Joined: Tue Sep 06, 2005 11:01 pm

Postby Steegy » Mon Feb 06, 2006 4:19 pm

Psyxonova,

I'm at my dorm now, and there are 2 things here.
1) My external hard drive: with my large collection of music, your script simply *rocks!!*. It finds most songs that are suggested by Last.FM. It even "surfs" through several genres after a long time of usage, just too give me some different things for me not to get bored. I guess that's maybe not directly the intention, but I really think it can be very cool!

2) Slow internet connection: unfortunately your script connects 2 times to Last.FM per song (well, that can't be changed), and with the sometimes very slow internet connection here (at my dorm before 19h = 7pm), MediaMonkey can lock up for a long while until the xml retrieval times out and fails, and the script continues.
At home, that's never a problem, but I have heard that some people on this forum have very slow internet access, so maybe this might be a problem for them.
Therefor, I suggest you to try to get the xml info through an asynchronous connection. (you know, the "xmlDoc.async = TRUE" thing). That would make MM much more stable (as it actually should be) but will take some more programming work and multi-threading can be a pain in the axe (or how is it called? :wink: ).

Anyway, I tried your new piece of art and think it's great! Keep up the good work you're doing.

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Steegy
 
Posts: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: Google [Bot], Rhiannon and 14 guests