Started work on queueEntries for active livestreams.

This commit is contained in:
rainbow napkin 2025-05-15 08:36:04 -04:00
parent a927b31919
commit afa57e8080
4 changed files with 227 additions and 79 deletions

View file

@ -49,9 +49,9 @@ module.exports = class{
this.preSwitchTimer = null;
//Create variable to hold currently playing media object
this.nowPlaying = null;
//Create variable to lock standard queuing functions during livestreams
this.streamLock = false;
//create boolean to hold schedule lock
this.locked = false;
@ -1179,7 +1179,7 @@ module.exports = class{
}
}
//Create a new array to hold the new schedule so we only have to write to the DB once.
//Create a new array to hold the new schedule since we'll only be keeping select items
let newSched = [];
//For every saved scheduled item