refactor(config): retire RuntimeSettingsCompat host usage

This commit is contained in:
jxxghp
2026-08-26 15:55:21 +08:00
parent cdab54254d
commit 9dbe424c3d
162 changed files with 1966 additions and 1745 deletions
+2 -3
View File
@@ -2,9 +2,8 @@ import re
import traceback
from typing import Optional, List
from app.runtime.settings import RuntimeSettingsCompat
from app.runtime.settings import get_runtime_setting
settings = RuntimeSettingsCompat()
from app.runtime.log import logger
from app.schemas.types import MediaType
from app.foundation import text as text_tools
@@ -1279,7 +1278,7 @@ class TmdbApi:
"""
languages = []
for language in (
settings.TMDB_LOCALE,
get_runtime_setting('TMDB_LOCALE'),
"en",
None,
original_language,