mirror of
https://github.com/Viren070/mediaflow-proxy.git
synced 2025-12-01 23:22:12 +01:00
15 lines
413 B
Python
15 lines
413 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
api_password: str # The password for accessing the API endpoints.
|
|
proxy_url: str | None = None # The URL of the proxy server to route requests through.
|
|
mpd_live_stream_delay: int = 30 # The delay in seconds for live MPD streams.
|
|
|
|
class Config:
|
|
env_file = ".env"
|
|
extra = "ignore"
|
|
|
|
|
|
settings = Settings()
|