Revert "temp fix"

This reverts commit f15c8ed3d4.
pull/215/head
Aevann 2023-10-07 03:07:57 +03:00
parent 62c377f157
commit 10e2dfab05
1 changed files with 2 additions and 2 deletions

View File

@ -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)