diff --git a/src/app/channel/media/queue.js b/src/app/channel/media/queue.js index fa489ae..8c8ae1d 100644 --- a/src/app/channel/media/queue.js +++ b/src/app/channel/media/queue.js @@ -287,10 +287,8 @@ module.exports = class{ if(currentItem != null && (this.nowPlaying == null || currentItem.uuid != this.nowPlaying.uuid)){ //Start the found item at w/ a pre-calculated time stamp to reflect the given start time this.start(currentItem, Math.round((new Date().getTime() - currentItem.startTime) / 1000) + currentItem.startTimeStamp, volatile); - } - //If we have a next item - if(nextItem != null){ + }else if(nextItem != null){ //Calculate the amount of time in ms that the next item will start in const startsIn = nextItem.startTime - new Date().getTime();