From 0102b9273003d842955f617826d5ce74e7a7c76d Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 15 Jun 2014 12:51:39 -0700 Subject: [PATCH] Fix wrong variable reference --- lib/channel/playlist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }