tunedrop/backend/config.py
2025-07-10 16:21:17 +03:00

13 lines
387 B
Python

from pydantic_settings import BaseSettings
from pydantic import Field
class Settings(BaseSettings):
MUSIC_DIR: str = Field(default="/music", description="Path where songs are saved")
NAVIDROME_SCAN_URL: str = Field(default="", description="URL to trigger Navidrome rescan")
class Config:
env_file = ".env"
env_file_encoding = "utf-8"
settings = Settings()