mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-07 22:47:33 +00:00
show how long ago stream started
This commit is contained in:
@@ -534,7 +534,8 @@ struct Video
|
||||
end
|
||||
|
||||
def live_now
|
||||
info["videoDetails"]["isLiveContent"]?.try &.as_bool || false
|
||||
info["microformat"]?.try &.["playerMicroformatRenderer"]?
|
||||
.try &.["liveBroadcastDetails"]?.try &.["isLiveNow"]?.try &.as_bool || false
|
||||
end
|
||||
|
||||
def is_listed
|
||||
|
||||
Reference in New Issue
Block a user