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.

WWW: http://projects.vdr-developer.org/projects/plg-sleeptimer