How would I go about using a raspberry pi to play a video, every time the user is "in front of" the screen (detected by a PIR sensor).
Ideally, the screen would be blank, until the sensor is triggered, then a fullscreen video will play with sound, before returning to black.