mirror of
https://github.com/ReviveMii/revivetube
synced 2025-09-05 13:00:59 +02:00
something
This commit is contained in:
parent
9f981abb2f
commit
374e4285a0
@ -561,7 +561,7 @@ def get_video_duration_from_file(video_path):
|
|||||||
def watch():
|
def watch():
|
||||||
video_id = request.args.get("video_id")
|
video_id = request.args.get("video_id")
|
||||||
if not video_id:
|
if not video_id:
|
||||||
return "Mising Video-ID.", 400
|
return "Missing Video-ID.", 400
|
||||||
|
|
||||||
video_mp4_path = os.path.join(VIDEO_FOLDER, f"{video_id}.mp4")
|
video_mp4_path = os.path.join(VIDEO_FOLDER, f"{video_id}.mp4")
|
||||||
video_flv_path = os.path.join(VIDEO_FOLDER, f"{video_id}.flv")
|
video_flv_path = os.path.join(VIDEO_FOLDER, f"{video_id}.flv")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user