Livestream Database Handling for Overwrite mode complete. Schedule goes back to pre-stream state if server crashes/stops.

This commit is contained in:
rainbow napkin 2025-05-18 17:47:47 -04:00
parent 85c1258bb6
commit 8c8b2a6f0b
6 changed files with 194 additions and 55 deletions

View file

@ -111,7 +111,11 @@ const channelSchema = new mongoose.Schema({
scheduled: [queuedMediaSchema],
//We should consider moving archived media and channel playlists to their own collections/models for preformances sake
archived: [queuedMediaSchema],
playlists: [playlistSchema]
playlists: [playlistSchema],
liveRemainder: {
type: mongoose.SchemaTypes.UUID,
required: false
}
},
//Thankfully we don't have to keep track of alts, ips, or deleted users so this should be a lot easier than site-wide bans :P
banList: [channelBanSchema]