mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix premiere_timestamp without scheduledStartTime
This commit is contained in:
parent
8d9569e06b
commit
9ac2ddcb4d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue