mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:35:38 -04:00
Fix premiere_timestamp without scheduledStartTime
This commit is contained in:
parent
8d9569e06b
commit
9ac2ddcb4d
@ -297,7 +297,7 @@ class Video
|
|||||||
.try &.["liveStreamabilityRenderer"]?
|
.try &.["liveStreamabilityRenderer"]?
|
||||||
.try &.["offlineSlate"]?
|
.try &.["offlineSlate"]?
|
||||||
.try &.["liveStreamOfflineSlateRenderer"]?
|
.try &.["liveStreamOfflineSlateRenderer"]?
|
||||||
.try &.["scheduledStartTime"].as_s.to_i64
|
.try &.["scheduledStartTime"]?.try &.as_s.to_i64
|
||||||
end
|
end
|
||||||
|
|
||||||
if premiere_timestamp
|
if premiere_timestamp
|
||||||
|
Loading…
Reference in New Issue
Block a user