From c80c8fad2d77ae5a3801aa46820c599463561b20 Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Thu, 23 May 2019 16:22:51 +0200 Subject: [PATCH] add gpio options in ini file --- video_looper.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/video_looper.ini b/video_looper.ini index 9e13b11..6d5f3c5 100644 --- a/video_looper.ini +++ b/video_looper.ini @@ -41,6 +41,12 @@ is_random = false #keyboard_control = false keyboard_control = true + +# Play video only if GPIO Pin is up (or down). +gpio_control = true +gpio_control_pin = 4 +gpio_control_upstate = 1 + # Set the background to a custom image # This image is displayed between movies # Can potentially look broken if video resolution is smaller than display resolution