mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add 'liveNow' to /api/v1/channels/videos
This commit is contained in:
parent
31a9abc03a
commit
fee3b93339
1 changed files with 1 additions and 0 deletions
|
@ -2595,6 +2595,7 @@ end
|
||||||
json.field "published", video.published.to_unix
|
json.field "published", video.published.to_unix
|
||||||
json.field "publishedText", "#{recode_date(video.published)} ago"
|
json.field "publishedText", "#{recode_date(video.published)} ago"
|
||||||
json.field "lengthSeconds", video.length_seconds
|
json.field "lengthSeconds", video.length_seconds
|
||||||
|
json.field "liveNow", video.live_now
|
||||||
json.field "paid", video.paid
|
json.field "paid", video.paid
|
||||||
json.field "premium", video.premium
|
json.field "premium", video.premium
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue