summaryrefslogtreecommitdiff
path: root/api/video.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/video.php')
-rw-r--r--api/video.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/api/video.php b/api/video.php
index 00c8214..21af642 100644
--- a/api/video.php
+++ b/api/video.php
@@ -25,15 +25,10 @@ if (isset($_GET['id'])) {
echo(json_encode([
"title" => $data["fulltitle"],
"author" => $data["channel"],
- "count" => [
- "channel" => $data["channel_follower_count"],
- "likes" => $data["like_count"],
- "views" => $data["view_count"]
- ],
"duration" => $data["duration"],
"stream" => $selected,
"url" => $stream["url"],
- "duration_pretty" => $stream["duration_string"],
+ "duration_pretty" => $data["duration_string"],
"poster" => $data["thumbnail"],
], JSON_PRETTY_PRINT));
} \ No newline at end of file