Revert "Lowered loop time based on feedback"

This reverts commit c08013d14115b24092010d7c8bf95dfc4b5588c9.
This commit is contained in:
Dylan 2023-02-13 23:36:03 +00:00
parent 13157a71cc
commit ae6774f126

View File

@ -73,7 +73,7 @@ def lambda_handler(event, context):
videoLocation = tempfile.mkstemp(suffix=".mp4")[1]
subprocess.call(["wget","-O",videoLocation,url],stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT)
videoLocationLooped = loop_video_until_length(videoLocation, 15)
videoLocationLooped = loop_video_until_length(videoLocation, 30)
if videoLocationLooped != videoLocation:
os.remove(videoLocation)
videoLocation = videoLocationLooped