Randomise Playlist 1.3 - Updated 20/10/2010
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Re: Randomise Playlist 1.1 [MM2+3]
I'm not sure but I would close MM, delete the Randomise.vbs and delete the entry from the script.ini. Then re-open MM and re-install the script to see if it installs correctly. Also, try rebooting the computer, maybe that has something to do with it. Does any other scripts cause these kinds of problems??
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Re: Randomise Playlist 1.1 [MM2+3]
Thank you, trixmoto, for your hard work in creating your scripts!
The Randomise script is fantastic, but I have a question. Is there a way that I could modify the script (for personal use only) to prevent an artist from showing up two or more songs in a row? For example, I have a huge play list that includes many artists. I would like to randomize the list, but would like a way to prevent it from playing two or three Led Zeppelin songs in a row. Is that possible?
Thanks again for your work,
D
The Randomise script is fantastic, but I have a question. Is there a way that I could modify the script (for personal use only) to prevent an artist from showing up two or more songs in a row? For example, I have a huge play list that includes many artists. I would like to randomize the list, but would like a way to prevent it from playing two or three Led Zeppelin songs in a row. Is that possible?
Thanks again for your work,
D
Re: Randomise Playlist 1.1 [MM2+3]
Well I guess you could try replacing the "DoRandomise" (lines 129-138) with something like this...
I've not tested it, but hopefully that's at least almost correct.
Code: Select all
Sub DoRandomise(p)
Dim t : Set t = p.Tracks
Dim a : a = ""
p.Clear
While t.Count > 0
Dim n : n = Int(t.Count*Rnd)
If Not (a = t.Item(n).ArtistName) Then
a = t.Item(n).ArtistName
Call p.AddTrack(t.Item(n))
Call t.Delete(n)
End If
SDB.ProcessMessages
WEnd
End Sub
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Randomise Playlist 1.1 [MM2+3]
Cool! It worked!
Your scripts have been life savers.
This just saved me from manually having to browse and edit the entire 200 song list for artist "repeats" after randomizing.
Thanks again!!
Your scripts have been life savers.
This just saved me from manually having to browse and edit the entire 200 song list for artist "repeats" after randomizing.
Thanks again!!
Re: Randomise Playlist 1.1 [MM2+3]
Thanks, I'm glad that worked for you.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Randomise Playlist 1.2 - Updated 11/07/2010
New version (1.2) is now available to download from my website. I have fixed playlists with the same name cause problems.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Randomise Playlist 1.2 - Updated 11/07/2010
Version 1.2 seems to force the Playlist node to open expanded when MediaMonkey is started, as reported here: http://mediamonkey.com/forum/viewtopic.php?f=1&t=52257
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Re: Randomise Playlist 1.2 - Updated 11/07/2010
Ok, I'll see if I can fix this in the next version.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Randomise Playlist 1.2 - Updated 11/07/2010
Thanks Lowlander, you beat me to it.
Looking forward to the next version.
Looking forward to the next version.
Re: Randomise Playlist 1.3 - Updated 20/10/2010
New version (1.3) is now available to download from my website. I have fixed the playlist node being fully expanded on startup.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Randomise Playlist 1.3 - Updated 20/10/2010
I've just had an issue in MM4 when trying to randomise a large playlist. It came up with an error about not enough space (sorry I didn't think straight away to take a screenshot) and then reduced the size of the playlist significantly to just over an hour.
The script works fine on this reduced playlist but for some reason couldn't handle the larger one in the way MM3 could.
Unrelated from the script is there a way to retrieve a playlist from my old MM3 library?
The script works fine on this reduced playlist but for some reason couldn't handle the larger one in the way MM3 could.
Unrelated from the script is there a way to retrieve a playlist from my old MM3 library?
Re: Randomise Playlist 1.3 - Updated 20/10/2010
Sorry about this, I'll be testing all of my scripts for MM4 compatibility soon. Is it an auto-playlist or a manual one? If it's an auto-playlist, what sort of criteria are you using?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Randomise Playlist 1.3 - Updated 20/10/2010
Don't worry about it. I should have backed up my playlists before testing MM4!
It's a manual playlist, I can't remember exactly how long but I suspect over 10 hours.
It's a manual playlist, I can't remember exactly how long but I suspect over 10 hours.
Re: Randomise Playlist 1.3 - Updated 20/10/2010
I've done some more testing around this by creating a new playlist which had 37 files and was 2 hrs 18 minutes long
I get - Error #214748113 - SongsDB.SDBPlaylist
Thread creation error: Not enough storage is available to process this command
File: "C:\Programe Files\MediaMonkey\Scripts\Auto\RandomisePlaylist.vbs", Line 134, Column: 4
Following the error it reduces the playlist to 17 files - 1hr and 3 minutes in length
Hope this is of help!
I get - Error #214748113 - SongsDB.SDBPlaylist
Thread creation error: Not enough storage is available to process this command
File: "C:\Programe Files\MediaMonkey\Scripts\Auto\RandomisePlaylist.vbs", Line 134, Column: 4
Following the error it reduces the playlist to 17 files - 1hr and 3 minutes in length
Hope this is of help!
Re: Randomise Playlist 1.3 - Updated 20/10/2010
Hmmm, not sure there's anything that I can do about that!
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.