From the wiki page:
andYou may want this program if you have a large music library and want to build a more complex set of rules for populating a playlist. Here, you can have a more controlled selection of tracks, with better variety. This program considers not only the rating and last time played, but also the specific order of tracks on the playlist. It also considers custom artist groupings.
By also calculating the number of rated tracks, along with the ratings and playing times for each, it can be determined how frequently a song should be added for a repeat play onto the playlist, and whether a specific artist should be added for the next track. While MM4 already has a smart playlist feature for “days since last played” by rating, it does not do so with a high degree of specialization for variety, such as the arrangement of tracks within the list (next artist added).
Learn more here:
https://github.com/Harpo3/archsimian/bl ... archsimian
Please let me know if you have any issues, or need help with installation. (Edited 5/1/2019: Now in the AUR: https://aur.archlinux.org/packages/archsimian-git/)