kopia lustrzana https://github.com/iv-org/invidious
Add 'liveNow' to /api/v1/channels/videos
rodzic
31a9abc03a
commit
fee3b93339
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue