Fix premiere_timestamp without scheduledStartTime

This commit is contained in:
Omar Roth 2019-03-26 13:46:07 -05:00
parent 8d9569e06b
commit 9ac2ddcb4d

View file

@ -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