mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-19 04:54:11 +02:00
20 lines
419 B
Python
20 lines
419 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class ProwlarrConfig(BaseSettings):
|
|
enabled: bool = False
|
|
api_key: str = ""
|
|
url: str = "http://localhost:9696"
|
|
|
|
|
|
class JackettConfig(BaseSettings):
|
|
enabled: bool = False
|
|
api_key: str = ""
|
|
url: str = "http://localhost:9696"
|
|
indexers: list[str] = ["all"]
|
|
|
|
|
|
class IndexerConfig(BaseSettings):
|
|
prowlarr: ProwlarrConfig
|
|
jackett: JackettConfig
|