Started work on queue panel

This commit is contained in:
rainbow napkin 2025-01-21 08:15:35 -05:00
parent 4f6b3318a0
commit 42c20455e5
16 changed files with 342 additions and 14 deletions

View file

@ -156,6 +156,9 @@ module.exports = class{
//Replace the existing schedule map with our new one
this.schedule = newSchedule;
//Broadcast the channel queue
this.broadcastQueue();
}
start(mediaObj){
@ -285,4 +288,8 @@ module.exports = class{
}
}
broadcastQueue(){
this.server.io.in(this.channel.name).emit('queue',{queue: Array.from(this.schedule)})
}
}