summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/invidious.cr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 3602ed70..ab133ef7 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -2540,6 +2540,7 @@ get "/api/v1/channels/:ucid" do |env|
json.field "published", video.published.to_unix
json.field "publishedText", "#{recode_date(video.published)} ago"
json.field "lengthSeconds", video.length_seconds
+ json.field "liveNow", video.live_now
json.field "paid", video.paid
json.field "premium", video.premium
end