Shuffle playlists for SMPlayer, Baka MPlayer, Celluloid and MPV.
MPV does not randomize / shuffle playlists on-the-fly. This bash script will do that for you.
./mpvshuffle.sh "/path/to/playlist.m3u".
Supported players: SMPlayer, Baka MPlayer, Celluloid and MPV.
You can force a specific player by using the "--player" flag followed by the video player.
Ex. ./mpvshuffle.sh /path/to/playlist.m3u --player celluloid