New version (1.4) allows the user to set a minimum rating for each track added. Default is -1 (so even unrated will be added!)
N.B. This new filter is applied when counting tracks, so if you set MinRating to 4 and MinTracks to 5 and you only have 4 tracks rated 4 or above in the album, then this album will not be included. It has to be done this way else you could end up with an album with enough tracks, but then none would be added because the ratings were not high enough.
Now the script runs when you switch it on, so if you switch it on with an empty now playing list, or whilst the last song is playing then the script will work it's magic!
Also there is a memory feature so it remembers the albums it has played and ensures it does not play one of these again. The capacity is used to set how many albums to remember (default = 10).
NEW CODE BELOW