diff --git a/lib/channel/playlist.js b/lib/channel/playlist.js index 172b4990..a007e3da 100644 --- a/lib/channel/playlist.js +++ b/lib/channel/playlist.js @@ -961,9 +961,9 @@ function isExpired(media) { if (media.meta.expiration && media.meta.expiration < Date.now()) { return true; } else if (media.type === "gd") { - return !media.object; + return !media.meta.object; } else if (media.type === "vi") { - return !media.direct; + return !media.meta.direct; } }