From 40a7ab942fe9646015b1dde4d1dca7eecd98260e Mon Sep 17 00:00:00 2001 From: brandonocasey Date: Fri, 14 May 2021 12:31:09 -0400 Subject: [PATCH] cr --- src/media-groups.js | 2 ++ test/manifest.test.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/media-groups.js b/src/media-groups.js index 89f3599ca..4d49286b9 100644 --- a/src/media-groups.js +++ b/src/media-groups.js @@ -468,6 +468,8 @@ export const initialize = { vhs, requestOptions ); + // TODO: dash isn't the only type with properties.playlists + // should we even have properties.playlists in this check. } else if (properties.playlists && sourceType === 'dash') { playlistLoader = new DashPlaylistLoader( properties.playlists[0], diff --git a/test/manifest.test.js b/test/manifest.test.js index b5c136fea..1ea4264f5 100644 --- a/test/manifest.test.js +++ b/test/manifest.test.js @@ -427,7 +427,7 @@ QUnit.module('manifest', function() { 'added placeholder id with index' ); assert.equal( - groups.es.playlists[1].uri, + groups.es.playlists[1].id, '1-placeholder-uri-AUDIO-default-es', 'added placeholder with index id' );