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
@@ -9,7 +9,7 @@
"root": "app"
},
"settings_imports": {
"count": 34,
"count": 24,
"files": [
"app/adapters/system/fsproxy.py",
"app/cli.py",
@@ -25,17 +25,7 @@
"app/modules/qbittorrent/__init__.py",
"app/modules/redis/__init__.py",
"app/modules/rtorrent/__init__.py",
"app/modules/themoviedb/__init__.py",
"app/modules/themoviedb/category.py",
"app/modules/themoviedb/scraper.py",
"app/modules/themoviedb/tmdb_cache.py",
"app/modules/themoviedb/tmdbapi.py",
"app/modules/themoviedb/tmdbv3api/objs/discover.py",
"app/modules/themoviedb/tmdbv3api/tmdb.py",
"app/modules/thetvdb/__init__.py",
"app/modules/thetvdb/tvdb_v4_official.py",
"app/modules/transmission/__init__.py",
"app/modules/trimemedia/api.py",
"app/modules/webpush/__init__.py",
"app/runtime/extensions/host_module_adapter.py",
"app/startup/agent_initializer.py",
+11 -11
View File
@@ -14,7 +14,7 @@
"workflow_to_db": []
},
"edge_count": 6425,
"edge_sha256": "41afc9f5275b7f406e8ab4dd240d9af5bd01dd2e7537431e221558db2b9e593e",
"edge_sha256": "4d0424aeaa643346981710c4533b4cf546cf07a0d1cb9642707369c60afc4e39",
"edges": [
"app -> app.runtime",
"app -> app.runtime.compat",
@@ -4961,8 +4961,8 @@
"app.modules.themoviedb -> app.modules.themoviedb.tmdbv3api",
"app.modules.themoviedb -> app.modules.themoviedb.tmdbv3api.exceptions",
"app.modules.themoviedb -> app.runtime",
"app.modules.themoviedb -> app.runtime.config",
"app.modules.themoviedb -> app.runtime.log",
"app.modules.themoviedb -> app.runtime.settings",
"app.modules.themoviedb -> app.schemas",
"app.modules.themoviedb -> app.schemas.category",
"app.modules.themoviedb -> app.schemas.context",
@@ -4972,8 +4972,8 @@
"app.modules.themoviedb.category -> app.foundation",
"app.modules.themoviedb.category -> app.foundation.singleton",
"app.modules.themoviedb.category -> app.runtime",
"app.modules.themoviedb.category -> app.runtime.config",
"app.modules.themoviedb.category -> app.runtime.log",
"app.modules.themoviedb.category -> app.runtime.settings",
"app.modules.themoviedb.category -> app.schemas",
"app.modules.themoviedb.category -> app.schemas.category",
"app.modules.themoviedb.scraper -> app.domain",
@@ -4986,7 +4986,7 @@
"app.modules.themoviedb.scraper -> app.modules.themoviedb",
"app.modules.themoviedb.scraper -> app.modules.themoviedb.tmdbapi",
"app.modules.themoviedb.scraper -> app.runtime",
"app.modules.themoviedb.scraper -> app.runtime.config",
"app.modules.themoviedb.scraper -> app.runtime.settings",
"app.modules.themoviedb.scraper -> app.schemas",
"app.modules.themoviedb.scraper -> app.schemas.types",
"app.modules.themoviedb.tmdb_cache -> app.domain",
@@ -4996,8 +4996,8 @@
"app.modules.themoviedb.tmdb_cache -> app.foundation.singleton",
"app.modules.themoviedb.tmdb_cache -> app.runtime",
"app.modules.themoviedb.tmdb_cache -> app.runtime.cache",
"app.modules.themoviedb.tmdb_cache -> app.runtime.config",
"app.modules.themoviedb.tmdb_cache -> app.runtime.log",
"app.modules.themoviedb.tmdb_cache -> app.runtime.settings",
"app.modules.themoviedb.tmdb_cache -> app.schemas",
"app.modules.themoviedb.tmdb_cache -> app.schemas.types",
"app.modules.themoviedb.tmdbapi -> app.foundation",
@@ -5007,8 +5007,8 @@
"app.modules.themoviedb.tmdbapi -> app.modules.themoviedb.tmdbv3api",
"app.modules.themoviedb.tmdbapi -> app.modules.themoviedb.tmdbv3api.exceptions",
"app.modules.themoviedb.tmdbapi -> app.runtime",
"app.modules.themoviedb.tmdbapi -> app.runtime.config",
"app.modules.themoviedb.tmdbapi -> app.runtime.log",
"app.modules.themoviedb.tmdbapi -> app.runtime.settings",
"app.modules.themoviedb.tmdbapi -> app.schemas",
"app.modules.themoviedb.tmdbapi -> app.schemas.types",
"app.modules.themoviedb.tmdbv3api -> app.modules",
@@ -5080,7 +5080,7 @@
"app.modules.themoviedb.tmdbv3api.objs.discover -> app.modules.themoviedb.tmdbv3api.tmdb",
"app.modules.themoviedb.tmdbv3api.objs.discover -> app.runtime",
"app.modules.themoviedb.tmdbv3api.objs.discover -> app.runtime.cache",
"app.modules.themoviedb.tmdbv3api.objs.discover -> app.runtime.config",
"app.modules.themoviedb.tmdbv3api.objs.discover -> app.runtime.settings",
"app.modules.themoviedb.tmdbv3api.objs.episode -> app.modules",
"app.modules.themoviedb.tmdbv3api.objs.episode -> app.modules.themoviedb",
"app.modules.themoviedb.tmdbv3api.objs.episode -> app.modules.themoviedb.tmdbv3api",
@@ -5150,12 +5150,12 @@
"app.modules.themoviedb.tmdbv3api.tmdb -> app.modules.themoviedb.tmdbv3api.exceptions",
"app.modules.themoviedb.tmdbv3api.tmdb -> app.runtime",
"app.modules.themoviedb.tmdbv3api.tmdb -> app.runtime.cache",
"app.modules.themoviedb.tmdbv3api.tmdb -> app.runtime.config",
"app.modules.themoviedb.tmdbv3api.tmdb -> app.runtime.settings",
"app.modules.thetvdb -> app.modules",
"app.modules.thetvdb -> app.modules.thetvdb.tvdb_v4_official",
"app.modules.thetvdb -> app.runtime",
"app.modules.thetvdb -> app.runtime.config",
"app.modules.thetvdb -> app.runtime.log",
"app.modules.thetvdb -> app.runtime.settings",
"app.modules.thetvdb -> app.schemas",
"app.modules.thetvdb -> app.schemas.types",
"app.modules.thetvdb.tvdb_v4_official -> app.adapters",
@@ -5163,7 +5163,7 @@
"app.modules.thetvdb.tvdb_v4_official -> app.adapters.network.http",
"app.modules.thetvdb.tvdb_v4_official -> app.runtime",
"app.modules.thetvdb.tvdb_v4_official -> app.runtime.cache",
"app.modules.thetvdb.tvdb_v4_official -> app.runtime.config",
"app.modules.thetvdb.tvdb_v4_official -> app.runtime.settings",
"app.modules.transmission -> app.domain",
"app.modules.transmission -> app.domain.metainfo",
"app.modules.transmission -> app.foundation",
@@ -5187,8 +5187,8 @@
"app.modules.trimemedia.api -> app.adapters.network",
"app.modules.trimemedia.api -> app.adapters.network.http",
"app.modules.trimemedia.api -> app.runtime",
"app.modules.trimemedia.api -> app.runtime.config",
"app.modules.trimemedia.api -> app.runtime.log",
"app.modules.trimemedia.api -> app.runtime.settings",
"app.modules.trimemedia.module -> app.modules",
"app.modules.trimemedia.module -> app.modules._base",
"app.modules.trimemedia.module -> app.modules.trimemedia",