Invidious is an alternative front-end to YouTube
Add 'liveNow' to /api/v1/channels
Omar Roth6ae5d489ec26
diff --git a/src/invidious.cr b/src/invidious.crindex 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_unixjson.field "publishedText", "#{recode_date(video.published)} ago"json.field "lengthSeconds", video.length_seconds+ json.field "liveNow", video.live_nowjson.field "paid", video.paidjson.field "premium", video.premiumend