From fee3b93339e9d6cc2d268a5b5c34cefab795c593 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 8 Nov 2018 16:17:47 -0600 Subject: [PATCH] Add 'liveNow' to /api/v1/channels/videos --- src/invidious.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/invidious.cr b/src/invidious.cr index cb8f011f..199ad602 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2595,6 +2595,7 @@ end 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