refactor(tv): change getSettings to synchronous call

This commit is contained in:
0xsysr3ll
2026-04-25 09:38:11 +02:00
parent 70ea488c19
commit 4b5ba2e7ff

View File

@@ -86,7 +86,7 @@ tvRoutes.get('/:id/season/:seasonNumber', async (req, res, next) => {
const availableMap: Record<number, boolean> = {};
const settings = await getSettings();
const settings = getSettings();
const shouldTrackEpisodes =
settings.main.enableEpisodeAvailability &&
(settings.metadataSettings.tv === MetadataProviderType.TVDB ||