How to shuffle music with equal weighting by artist?


Hello, please does anyone know how to shuffle music so that artists are equally weighted? What I mean is, if I use the 'shuffle' option for my whole music collection, it tends to prefer artists in my collection that have more tracks. This makes sense if you randomize by track, since it's picking songs randomly and artists with more tracks will have a higher probability of being played. But I would prefer to have the track mix more evenly mixed up between artists. Make sense? Please does anyone have a solution here? Thanks!