Fixed some bugs added TO-Do
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
# PiVideo
|
# PiVideo
|
||||||
|
|
||||||
## TO-DO
|
## TO-DO
|
||||||
- Add GPIO Shutdown and Start option to Script [see](https://raspberrypi.stackexchange.com/questions/117013/raspberry-pi-4-b-gpio-boot-and-shutdown-buttons)
|
-~~ Add GPIO Shutdown and Start option to Script [see](https://raspberrypi.stackexchange.com/questions/117013/raspberry-pi-4-b-gpio-boot-and-shutdown-buttons) ~~
|
||||||
|
- Remove old filse when reinstalling
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ GPIO.setmode(GPIO.BCM)
|
|||||||
GPIO.setup(BUTTON_PIN, GPIO.IN, pull_up_down=GPIO.PUD_UP)
|
GPIO.setup(BUTTON_PIN, GPIO.IN, pull_up_down=GPIO.PUD_UP)
|
||||||
|
|
||||||
loop_video = 'videos/loop.mp4'
|
loop_video = 'videos/loop.mp4'
|
||||||
trigger_video = 'videos/trigger.mp4'
|
trigger_video = 'videos/trigger.webm'
|
||||||
|
|
||||||
# Funktion zum Abspielen eines Videos
|
# Funktion zum Abspielen eines Videos
|
||||||
def play_video(video_file):
|
def play_video(video_file):
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user