http://www.linuxtv.org/vdrwiki/index.php/Sleeptimer-plugin

Shutdown vdr, mute or execute a custom command after a configurable
timespan.  User keys and keymacros.conf are supported.
