mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-23 05:33:07 +05:30
Add 'liveNow' to /api/v1/channels
This commit is contained in:
parent
0a1c84ada1
commit
6ae5d489ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user