Files
plex-age-limit-setter/app/config.py
T
oval 3d6a2008bb initial commit: Plex Age Limit Setter
FastAPI service that syncs content ratings on Plex libraries,
with MCP tool server, scheduled sync, and Podman Quadlet deployment.
2026-07-09 23:38:31 +02:00

16 lines
467 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
plex_baseurl: str = "http://host.containers.internal:32400"
plex_token: str = ""
plex_username: str = ""
plex_password: str = ""
log_level: str = "INFO"
trigger_rate_limit: int = 60
schedule_interval_minutes: int = 5
target_content_rating: str = "2"
target_library: str = "BorneVideo"
model_config = {"env_file": ".env", "env_file_encoding": "utf-8"}