Open TheOpponent opened 1 year ago
Pressing Ctrl-C to exit the Python program also closes the ffmpeg processes, even if KeyboardInterrupt
is caught.
Version 2.2.0 now terminates the stream and adds a restart delay when Ctrl-C is pressed, allowing the stream to be soft-restarted without exiting Mr. OTCS. Allowing the current video to finish before doing this is the next logical step.
This could be expanded to allow limited live control of the playlist, such as restarting or skipping the current video.
This would allow for a natural end to the stream without interrupting programming if immediate termination is not needed or desired.