✨ Conversion: worker + endpoints convert/cancel/validate, ordre dossier->ln, nommage selon le Media Management Radarr
This commit is contained in:
1 parent
cfc0c54181
commit
198a014967
12 files changed
+536
-15
No files matched your search
+5
-1
@@ -6,6 +6,11 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
class AppSettings(BaseSettings):
|
||||
config_dir: Path = Path("./config")
|
||||
database_url: str | None = None
|
||||
films_dir: Path = Path("./films")
|
||||
downloads_dir: Path = Path("./downloads")
|
||||
# Simulation (dev/tests): produit un faux MKV au lieu d'appeler MakeMKV.
|
||||
simulate_conversion: bool = True
|
||||
worker_interval: float = 10.0
|
||||
|
||||
model_config = SettingsConfigDict(env_prefix="MKVTOOL_", env_file=".env")
|
||||
|
||||
@@ -17,4 +22,3 @@ class AppSettings(BaseSettings):
|
||||
|
||||
|
||||
settings = AppSettings()
|
||||
|
||||
Reference in new issue
Block a user