commit e64ea00b531055f5f1bc22eb1bbfd208a35e238e
parent 37a07d9654795939ece5cda0eb01b0a4d82ccad3
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sat, 20 Apr 2024 14:29:15 +0200
fix syntax errors
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/index.php b/index.php
@@ -8,7 +8,7 @@ function analyze_video($video_file) {
include_once("3rdparty/getid3/getid3/getid3.php");
$getID3 = new getID3;
$video_info = $getID3->analyze($video_file);
- return $video_info
+ return $video_info;
}
if (!is_null($_GET["channel"])) {
@@ -149,7 +149,6 @@ if (!is_null($_GET["channel"])) {
"-o '%(id)s.%(ext)s' " .
"https://www.youtube.com/watch?v=" . basename($_GET["video"])
);
-)
}
// If file has been downloaded properly, check whether the file is valid
if (!(analyze_video(basename($_GET["video"]) . ".opus")["playtime_seconds"] > 0)) {