Fixed out of order queues being sent off to clients.

This commit is contained in:
rainbow napkin 2025-10-27 20:31:14 -04:00
parent 787846c7d6
commit dd66601f0d

View file

@ -1708,8 +1708,8 @@ class queue{
media.earlyEnd = null;
}
//Add it to the schedule array as if it where part of the actual schedule map
schedule.push([media.startTime, media]);
//Add it to the temporary schedule array as if it where part of the actual schedule map
schedule.unshift([media.startTime, media]);
//Otherwise if it's older
}else{
//Then we should be done as archived items are added as they are played/end.