feat: Add mute and unmute functionality to player service and API
Some checks failed
Backend CI / lint (push) Failing after 4m52s
Backend CI / test (push) Failing after 3m44s

This commit is contained in:
JSC
2025-08-10 15:11:28 +02:00
parent 0a8b50a0be
commit 8544a3ce22
3 changed files with 52 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ class PlayerStateResponse(BaseModel):
description="Total duration in milliseconds",
)
volume: int = Field(description="Current volume (0-100)")
previous_volume: int = Field(description="Previous volume for unmuting (0-100)")
mode: str = Field(description="Current playback mode")
index: int | None = Field(
None,