refactor: better storage of auto-update playlists

This commit is contained in:
antebrl
2025-01-18 01:00:03 +00:00
parent 669d08d6c6
commit ee247bc5b5
4 changed files with 47 additions and 32 deletions

View File

@@ -43,6 +43,7 @@ const server = app.listen(PORT, async () => {
await streamController.start(ChannelService.getCurrentChannel());
}
PlaylistUpdater.startScheduler();
PlaylistUpdater.registerChannelsPlaylist(ChannelService.getChannels());
});