How to play random songs in share with subdirectories

Is it possible - or how does one choose a shared folder with many subdirectories of music - and choose to play all songs in subdirectories randomly?

Thanks,

the_fram