Foobar2000:Components 0.9/Timebomb (foo timebomb)
From Hydrogenaudio Knowledgebase
This plugin allows you to allows you to stop playback or exit foobar automatically after a specified time.
After copying the foo_timebomb file into the foobar components directory, restart foobar. To use the plugin, go to Playback -> Stop In. A window should pop up. Enter the number of minutes after which you want foobar to stop/exit. Click "Stop" if you want playback to stop or "Exit" if you want the program to exit.