Nov-15-2020, 02:17 PM
You need to put your button.wait_for_press and subsequent code in a loop. For starters, I suggest adding
while True:at line 19 and indent all of your code after that one level. You will need to ctrl-C to get out of the program, but once it prints Motioneye started it will go back to the top of the loop and wait for press again.