refactor: route media source settings through runtime

This commit is contained in:
jxxghp
2026-08-23 03:20:03 +08:00
parent 061a92eab0
commit c89066d96f
13 changed files with 44 additions and 32 deletions
@@ -1,5 +1,7 @@
from app.runtime.cache import cached
from app.runtime.config import settings
from app.runtime.settings import RuntimeSettingsCompat
settings = RuntimeSettingsCompat()
from ..tmdb import TMDb
try:
+3 -1
View File
@@ -10,7 +10,9 @@ import requests
import requests.exceptions
from app.runtime.cache import cached, fresh, async_fresh
from app.runtime.config import settings
from app.runtime.settings import RuntimeSettingsCompat
settings = RuntimeSettingsCompat()
from app.adapters.network.http import RequestUtils, AsyncRequestUtils
from .exceptions import TMDbException, TMDbConnectionError