Fix premiere_timestamp without scheduledStartTime

pull/451/head
Omar Roth 6 years ago
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…
Cancel
Save