Revert "Lowered loop time based on feedback"
This reverts commit c08013d14115b24092010d7c8bf95dfc4b5588c9.
This commit is contained in:
parent
13157a71cc
commit
ae6774f126
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user