mirror of
https://github.com/iv-org/invidious
synced 2024-11-28 05:53:28 +01: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