From a37d9a0c54ebaba024a7138489441292923bb322 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Sat, 26 Sep 2020 08:54:01 +1000 Subject: [PATCH] Fix a bug when we fail to load a playlist that prevents loading other playlists --- thrimbletrimmer/scripts/IO.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrimbletrimmer/scripts/IO.js b/thrimbletrimmer/scripts/IO.js index 0040031..e0f73bb 100644 --- a/thrimbletrimmer/scripts/IO.js +++ b/thrimbletrimmer/scripts/IO.js @@ -199,7 +199,7 @@ loadPlaylist = function(isEditor, startTrim, endTrim, defaultQuality) { var queryString = buildQuery(range); // Preserve existing edit times - if (player && player.trimmingControls) { + if (player && player.trimmingControls && player.vhs.playlists.master) { var discontinuities = mapDiscontinuities(); if (!startTrim) { startTrim = getRealTimeForPlayerTime(discontinuities, player.trimmingControls().options.startTrim);