#!/bin/bash WIDTH=720 HEIGHT=480 BUG="" PLAYBACK="playback.sqlite" HISTORY="history.sqlite" # Steps : enumerate all files at beginning of every playback decision # Compare to files in folder # if file is in playback database, skip # else add to candidates list # if candidate list is empty, destroy and recreate playback database # continue # generate random selection # add to playback database # add to history database # start playback #