Skip to content

Commit

Permalink
Add 'liveNow' to /api/v1/channels
Browse files Browse the repository at this point in the history
  • Loading branch information
omarroth committed Nov 8, 2018
1 parent 0a1c84a commit 6ae5d48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/invidious.cr
Expand Up @@ -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
Expand Down

0 comments on commit 6ae5d48

Please sign in to comment.