A small php script and class leveraging MySQL and the Kaltura API to purge the media of deleted video entries from the server filesystem