Sensor controlled video player for Raspberry Pi