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.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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"}
|
||||
Reference in New Issue
Block a user