Skip to content

Clarify controller commands and group-volume rounding - #268

Merged
kahrendt merged 1 commit into
mainfrom
review/issue-100-controller
Sep 11, 2026
Merged

kahrendt merged 1 commit into
mainfrom
review/issue-100-controller

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

Normalize controller requirement wording and make the existing group-volume algorithm obligation explicit. Changes beyond keyword normalization:

  • Require commands to be selected from the latest supported-command list received by the client, rather than merely recommending it. Clarify that the controller role must be active and that the server MUST ignore commands absent from its current list - support changes and commands can cross in flight.
  • Replace "must try to resume" with SHOULD resume the group's last playing media, and explicitly assign history retention across server and client reboots to the server - resumption is not always possible.
  • Require rounding each final per-player volume to the nearest integer after redistribution and before sending commands. Account for rounding in the stated accuracy of the resulting group volume - redistribution can produce fractions, but player volume commands require integers.

Addresses part of #100.

@kahrendt
kahrendt merged commit 3de6699 into main Sep 11, 2026
1 check passed
@kahrendt
kahrendt deleted the review/issue-100-controller branch September 11, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants