Playing a single random album is relatively easy.
The expression I use has actually expanded quite a lot from the one I originally posted in an attempt to address a number of issues that were showing up with my library.
The main one is that Media Center only looks at the [Album] tag to determine whether or not files come from the same album.
So when I expand to "full albums" I can end up with multiple duplicates listed, due to having different versions in my library. (CD, Live CD, High Res, Multichannel DVD-A etc.)
This expression attempts to remove these duplicates while still randomizing the outcome so that it is not the same version played every time.
[Media Type]=[Audio] [Media Sub Type]=[Music] [Complete Album]=1 [Last Played]=>1h [Last Skipped]=>1h ~limit=1,1,[Album],[Album Artist (auto)] ~a ~seq ~sort=Random ~limit=1,-1,[Filename (path)],[Channels] ~sort=[Sequence]
MGD_King, I suspect your issue with the random album smartlists being posted here is that your files are not tagged with a Media Sub Type. Mine all have the Sub Type of "Music".
You may wish to substitute [Media Sub Type]=[Music] with -[Media Sub Type]=[Podcast],[Test Clip] which specifies that the sub type is not "Podcast" or "Test Clip".
If your library only contains music, you could remove the sub type rule altogether.
Playing multiple random albums is difficult. I have spent a bit of time thinking about it recently, and I can't figure out a way which will play more than one random album without guaranteeing that there are no duplicates being played.
Depending on how your library is formatted, and what is in it, this may work:
[Media Type]=[Audio] -[Media Sub Type]=[Podcast],[Test Clip] [Complete Album]=1 [Last Played]=>1h [Last Skipped]=>1h ~limit=5,1,[Album],[Album Artist (auto)] ~a
Change the number at the start of the limit field to specify the number of albums you want. (currently 5)
Setting this to -1 will play all the albums in your library.
This expression does nothing to try and remove duplicates however.