Randomize the Now Playing List v1.24 & v2.30 [Script]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Randomize the Now Playing List v1.24 & v2.30 [Script]

Re: Randomize the Now Playing List v1.24 & v2.30 [Script]

by sommo » Sat Jun 28, 2008 12:29 pm

I would just like to say a thank you DiddeLeeDoo, for this addon!
This is one of the reason why I use MediaMonkey!
It is really helpful and I do use it :)
Keep up the good work & Happy coding!

by nynaevelan » Wed Apr 23, 2008 7:29 pm

I wouldn't hold my breath, I sent him a PM 3 weeks ago regarding another script and he has not read it yet.

Nyn

by libertao » Wed Apr 23, 2008 7:13 pm

Well I don't see an email address, but I'll shoot him a PM in case he has email notification on that. Thanks

by rovingcowboy » Wed Apr 23, 2008 2:14 pm

unsure where diddeleedoo is, he might have falling in to a water well and can't get out.? last known location was at his desk piled under tons of work for new clients, so he still might be trying to work his way out of that pile, but he has not been in the forum for a very long time. try emailing him and ask he might beable to make one up in a short time, he was fast at scripting for mm 2.

who knows maybe you sending him email about his script might get him to come back in and do some more for mm 3?

it's getting to be winter in the part of the world where he is at, so no more days at the beach. he will be stuck inside. of course he has a huge tv and movie entertainment set up now so we might have to drag him to the computer with a barbed wire fence.
:wink:

8)

by libertao » Wed Apr 23, 2008 12:41 pm

Is there anything like this for MM3? Looks like a great script I wish I could use (I assume since it was last updated in March 2007 it is incompatible?)

by DiddeLeeDoo » Wed Aug 23, 2006 8:49 am

Version 2.x updated. Previous version missed a track when cleaning up the list for played songs.

by DiddeLeeDoo » Sun Aug 13, 2006 7:08 am

Just a bump to say that the Randomize Now Playing script has got a brother.

v1.x do as before, randomize and put current song to the top of the list.

v2.x do the same, but clear out the songs that have played already before randomizing. This works if you do not use the Players Shuffle function.

by smiller » Wed Jul 26, 2006 8:06 pm

DiddeLeeDoo wrote:BTW, if you just want to 'Hard Code' it to a certain playlist, I guess this would be enough

Code: Select all

SDB.Player.PlaylistClear
SDB.Player.PlaylistAddTracks(SDB.PlaylistByTitle("WriteNameOfPlaylistHere").Tracks)
Perfect. Now one click loads and randomizes my preferred playlist. This saves a lot of mouse activity. Thanks again...

by DiddeLeeDoo » Wed Jul 26, 2006 5:26 pm

In all simplicity, something like this before the line UB=SDB.Play....

Code: Select all

LoadPlaylist=InputBox("Load Playlist","MediaMonkey")
If Not LoadPlaylist="" Then
   SDB.Player.PlaylistClear
   SDB.Player.PlaylistAddTracks(SDB.PlaylistByTitle(LoadPlaylist).Tracks)
End If
would ask you for what playlist to load, and if you write the name right it will load. This could be 'scripted up' a bit so you get to click a list instead of writing the name.

The MM Developers made a beautiful 'Load Playlist' dialog in the AutoDJ part, and making something like that in scripting would take a bit of effort... as far as I know this beauty cannot be called by scripting

However, just hitting F12 will give you the playlist in the Tree, so it's not far away really.

BTW, if you just want to 'Hard Code' it to a certain playlist, I guess this would be enough

Code: Select all

SDB.Player.PlaylistClear
SDB.Player.PlaylistAddTracks(SDB.PlaylistByTitle("WriteNameOfPlaylistHere").Tracks)
First line to clear the Now Playing list
Second line you replace the text WriteNameOfPlaylistHere with your playlist name

by smiller » Wed Jul 26, 2006 12:33 pm

Wondering... would it be possible to add a few lines to the script so that it would load a specific playlist (called 'All Tracks', or whatever) and then randomize? That would make loading and randomizing a playlist a single-click operation.

by DiddeLeeDoo » Tue Jul 25, 2006 9:37 pm

@ Peke
No more need for Puzzle Games, since discovering MM Scripting (With the Scripting Help file as a 'map') ;)

@Smiller
Glad you find it useful. Thank you for leaving your comment.

by smiller » Tue Jul 25, 2006 6:54 pm

I've been looking for a script like this! Since I nearly always randomize my playlists this saves me some effort. Thanks!

by Peke » Tue Jul 25, 2006 5:36 pm

@DiddeLeeDoo
Hmmm....... Game?!?!? http://www.mediamonkey.com/forum/viewtopic.php?t=11277
;) What game?

by DiddeLeeDoo » Sun Jul 23, 2006 10:16 pm

I would not be surpriced if we're currently trying to figure out the same stuff in the scripting help file :wink:

Takes time to figure out all this wonderful stuff that's made possible with scripting. On a light note, it feels a bit like the MM Developers play 'hide and seek' with us :D and somehow I enjoy this game...

by MoDementia » Sun Jul 23, 2006 10:07 pm

Thanks, just the kick start I needed for my latest script

I think it only has 2 lines left from your orignal :)

Top