parent
62c377f157
commit
10e2dfab05
|
@ -1976,8 +1976,8 @@ def start_orgy(v):
|
|||
orgy_type = 'file'
|
||||
data = normalized_link
|
||||
#not deduped, cuz cron checks local file, it can't check the url cuz of referrer restriction
|
||||
# video_info = ffmpeg.probe(data)
|
||||
seconds = 14042.778750
|
||||
video_info = ffmpeg.probe(data)
|
||||
seconds = float(video_info['streams'][0]['duration'])
|
||||
end_utc = int(time.time() + seconds)
|
||||
else:
|
||||
abort(400)
|
||||
|
|
Loading…
Reference in New Issue