popcornmix/omxplayer — pull request #247 by ktws (2014-09-05 03:46:14+00:00)
Title: Turn off xset screensaver and dpms (energy star) modes

@popcornmix New rpi firmware disables omxplayer video and audio when xset screensaver turns on. Disable on omxplayer start, re-enable on exit.

I'm new to shell scripting so not exactly sure if this is the best way to do it, but it works. Feel free to reject if it's not up to scratch.