From 09618cfae69ceef42a7cac9feba2360898ce93ad Mon Sep 17 00:00:00 2001 From: IrosTheBeggar Date: Sat, 4 Feb 2017 00:30:46 -0500 Subject: [PATCH] Fixed playlist bug --- public/js/mstream.player.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/js/mstream.player.js b/public/js/mstream.player.js index fd54fc2..3a848e6 100644 --- a/public/js/mstream.player.js +++ b/public/js/mstream.player.js @@ -96,6 +96,9 @@ var MSTREAM = (function () { mstreamModule.clearPlaylist = function(){ while(mstreamModule.playlist.length > 0) {mstreamModule.playlist.pop();} mstreamModule.positionCache.val = -1; + + clearEnd(); + return true; }