"Play Random Album" command?

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

nonhocapito
Posts: 2
Joined: Mon Jun 28, 2010 6:33 pm

"Play Random Album" command?

Post by nonhocapito »

I am a Winamp user, considering to migrate to MediaMonkey (chiefly because with MM I can use the windows native theme instead of a skin, but also for the many interesting features).

I have one (to me important) problem.

The command I use THE MOST in Winamp is right click > "play random album".

No matter what category/playlist I am in, Winamp picks a random album out of the bunch.

This is a priceless feature when you have thousands of albums, one that can surprise you while freeing you from the task of picking a given album to listen to in a category/genre you have picked.

So, is there any chance to have this function in MediaMonkey as well? A script or addon that can do this?

Please help, any idea welcome

thanks
Lowlander
Posts: 58613
Joined: Sat Sep 06, 2003 5:53 pm

Re: "Play Random Album" command?

Post by Lowlander »

You could create an AutoPlaylist with sort on random album.
nonhocapito
Posts: 2
Joined: Mon Jun 28, 2010 6:33 pm

Re: "Play Random Album" command?

Post by nonhocapito »

I tried but I cannot restrict the playlist this to the "current" genre unless I create one autoplaylist for each genre, which seems redundant plus it would clutter the sidebar. I really would like to have this command *inside* the library no matter what filter/playlist/node I am using.

(Dream Scenario: I browse the library, I am inside the "jazz" genre. There are thousands of albums, hundred of artists. But there, next to the "play" command, there is a "play random album" command... )

I am browsing scripts over scripts using google but incredibly enough nobody seem to have ever needed this command (which I guess would not be impossible to create, knowing the script language). The "Play Album" script adds the commands where I want, but there is no "random album" command among them unfortunately. I also tried the MagicNode mask suggested here but it returns an error (?).

Is there any place where one can post a desiderata script for some good-soul-developer to pick it up?
Or maybe this whole thread should be moved to an another more appropriate board in this forum?
Lowlander
Posts: 58613
Joined: Sat Sep 06, 2003 5:53 pm

Re: "Play Random Album" command?

Post by Lowlander »

Moved
ZvezdanD
Posts: 3265
Joined: Thu Jun 08, 2006 7:40 pm

Re: "Play Random Album" command?

Post by ZvezdanD »

nonhocapito wrote:I also tried the MagicNode mask suggested here but it returns an error (?).
Magic Nodes is not exactly what you want, but it does not return an error with the mentioned mask - I just tried and it works fine. Which version of the Magic Nodes add-on are you using? What is the line number displayed in the error dialog box?

You could also try with the next mask which displays all genres and one random album within each genre:

Code: Select all

<Group|Name:Random|Show tracks:No>\One random complete album for each genre|Icon:Top level|Show tracks:No|SQL filter: Songs.IDAlbum IN (SELECT IDAlbum FROM Songs GROUP  BY IDAlbum HAVING Count(TrackNumber) = Max(Cast(TrackNumber As integer)) AND Count(TrackNumber) > 3)\<Genre>\<Album with album artist|Sort order:Random|Top:1>
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
fizzjob
Posts: 417
Joined: Fri Mar 30, 2007 12:37 pm

Re: "Play Random Album" command?

Post by fizzjob »

You can actually do that using AutoAlbumDJ. It gives you a Tools -> Scripts -> "Auto Album DJ - Play A New Album" menu entry. I even bound it to a global hotkey so that MM doesn't have to be in the foreground for me to play a random album.
Image
SatinKnights
Posts: 46
Joined: Wed Jul 18, 2007 9:45 pm

Re: "Play Random Album" command?

Post by SatinKnights »

A while back I wrote http://www.mediamonkey.com/forum/viewto ... =2&t=24073 StayInSameStyleDJ. It has 95% of what you are looking for. The script chooses the next song based upon the Genre/Occasion/Tempo and/or Mood of the current song playing, depending on which options you pick. For your wants, it has a "grab whole album" for specific genres or all genres.

In short, once installed, go to Tools->Options->Auto-DJ and enable Auto-DJ. Set "maintain at least" to 1. (the script has an internal queue in addition to the playlist queue) Select "Stay in Same Style Auto DJ" and then click on the new button to get to the big page of options. Select "Same Genre", "Grab whole album", "...for all genres". This will grab new albums in order from the genre the current song is in. Set other options to taste. If you actually tag your jazz songs with Mood or Tempo tags, those too can be used to stay with a consistent style while auto playing. Then select a seed song from you library. When it starts, the script will analyze it's tags to select the next song/album to add to the now playing queue. Anytime the now playing queue is starting it's last song, the script fires to add more to the queue.

The 5% that you may not like is this. When selecting the first seed song to get the script started, if it is in the middle of the album, only the songs after the seed song will be added to the playlist. The next album chosen will start at the first song, but the seed album starts where the user has specifically chosen to start.

I hope this helps.
Boywonder1
Posts: 4
Joined: Sun Aug 02, 2009 6:40 am

Re: "Play Random Album" command?

Post by Boywonder1 »

I was just looking for this myself, downloaded Magic Nodes and edited it to come up with this;

One random Album|Icon:16|Filter:Songs.IDAlbum|Child of:Now Playing\<Album with album artist|Sort order:Random|Top:1|Show nodes:No>

Works for me!
elmerbumpkin
Posts: 83
Joined: Wed Jul 30, 2008 3:59 pm

Re: "Play Random Album" command?

Post by elmerbumpkin »

Lowlander wrote:You could create an AutoPlaylist with sort on random album.
I tried this. I created a new AutoPlaylist, named it, and only selected 'Sort by:' and chose Random Album.

When I right click on the playlist in the left hand pane, and select 'Play NOw', it will start playing a random album, but it includes every album in the library, sorted by Album.

I just want to hear that one album and then drop into Auto DJ (assuming it is still 'on').

Is that possible using AutoPlaylist?

Thanks.
Post Reply