forked from rDrama/rDrama
temp fix again
parent
9622c826e4
commit
bfefb120be
|
@ -1976,8 +1976,7 @@ def start_orgy(v):
|
||||||
orgy_type = 'file'
|
orgy_type = 'file'
|
||||||
data = normalized_link
|
data = normalized_link
|
||||||
#not deduped, cuz cron checks local file, it can't check the url cuz of referrer restriction
|
#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
|
||||||
seconds = float(video_info['streams'][0]['duration'])
|
|
||||||
end_utc = int(time.time() + seconds)
|
end_utc = int(time.time() + seconds)
|
||||||
else:
|
else:
|
||||||
abort(400)
|
abort(400)
|
||||||
|
|
Loading…
Reference in New Issue