Lowered loop time based on feedback
This commit is contained in:
parent
3e7aba438c
commit
c08013d141
@ -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, 30)
|
||||
videoLocationLooped = loop_video_until_length(videoLocation, 15)
|
||||
if videoLocationLooped != videoLocation:
|
||||
os.remove(videoLocation)
|
||||
videoLocation = videoLocationLooped
|
||||
|
Loading…
x
Reference in New Issue
Block a user