From d60182ceae74d9e18bd7bc449527974285417a51 Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Wed, 12 Feb 2025 07:48:47 -0500 Subject: [PATCH] Removed console.log() call and fixed bug with resuming playback after server restart. --- src/app/channel/media/queue.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/channel/media/queue.js b/src/app/channel/media/queue.js index 03292c2..306f9fc 100644 --- a/src/app/channel/media/queue.js +++ b/src/app/channel/media/queue.js @@ -709,7 +709,6 @@ module.exports = class{ async prepQueue(chanDB){ try{ - console.log(this.schedule); //If we didn't get handed a freebie if(chanDB == null){ //Go out and get it done ourselves @@ -774,7 +773,7 @@ module.exports = class{ //If something was playing if(chanDB.media.nowPlaying != null){ //Rehydrate the currently playing item - wasPlaying = chanDB.media.nowPlaying.rehydrate(); + const wasPlaying = chanDB.media.nowPlaying.rehydrate(); //Schedule it this.scheduleMedia(wasPlaying, null, true);