diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-11-08 16:17:47 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-11-08 16:17:47 -0600 |
| commit | fee3b93339e9d6cc2d268a5b5c34cefab795c593 (patch) | |
| tree | cc319d242e1bc3a8acbebc5c442028dde05953d8 | |
| parent | 31a9abc03a03ef05ce30cd89291e36d1d4a18749 (diff) | |
| download | invidious-fee3b93339e9d6cc2d268a5b5c34cefab795c593.tar.gz invidious-fee3b93339e9d6cc2d268a5b5c34cefab795c593.tar.bz2 invidious-fee3b93339e9d6cc2d268a5b5c34cefab795c593.zip | |
Add 'liveNow' to /api/v1/channels/videos
| -rw-r--r-- | src/invidious.cr | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
