Files
plex-age-limit-setter/app/config.py
T

16 lines
467 B
Python
Raw Normal View History

2026-07-09 23:38:31 +02:00
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"}