Shufflecast is a simple script that, given a directory that contains video files under its tree, will create and stream a shuffled playlist of the files to a Chromecast.
pip install shufflecast
shufflecast <video directory>
You can't. It's meant to be like a TV channel that plays all your favorite shows.
Shufflecast is released under the BSD license.