configure client in utils method

This commit is contained in:
2025-12-10 11:50:47 +01:00
parent a5659d90e8
commit 32e4a76cd1
4 changed files with 24 additions and 7 deletions

View File

@@ -6,6 +6,9 @@ class Settings(BaseSettings):
"""
Application settings loaded from environment variables or a .env file.
"""
app_name: str = Field('jellydisc')
app_version: str = Field('0.1.2')
jellyfin_server_url: str = Field(..., env="JELLYFIN_SERVER_URL")
jellyfin_username: str = Field(..., env="JELLYFIN_USERNAME")
jellyfin_password: str = Field(..., env="JELLYFIN_PASSWORD")