What the group chooser of the renderer settings offers (task 9.1): first the servers of the server list (typed in, found on the network, remembered; the list of the settings dialog is reused, nothing new is discovered), then the groups of the chosen server.
More...
|
| class | Group |
| | A group to choose.
|
| |
| class | Server |
| | A server to choose.
|
| |
What the group chooser of the renderer settings offers (task 9.1): first the servers of the server list (typed in, found on the network, remembered; the list of the settings dialog is reused, nothing new is discovered), then the groups of the chosen server.
Pure Java; the dialog only shows the choices and stores the receiver id of the chosen group.
-
The key of a server is its control endpoint (
host:port of the list), because the groups live there; it is not the stream port that the client settings use (SnapcastServerChoices).
-
Labels are display text. The label starts with the address and puts the cleaned name from the network in brackets (
SnapcastServerChoices#label), so a name that looks like an address can not stand in front of the real one. A group name is cleaned again and never carries its id.
-
What is stored is an id. A group's receiver id is built from the server key and the group id the server gave (
SnapcastGroupDevice#idOf); only a group that SnapcastGroupDevice accepted (a safe id) is a choice.
◆ groups()
| static List< Group > de.yaacc.snapcast.ui.SnapcastRendererGroupChoices.groups |
( |
List< SnapcastGroupDevice > | devices | ) |
|
|
static |
◆ servers()
| static List< Server > de.yaacc.snapcast.ui.SnapcastRendererGroupChoices.servers |
( |
List< SnapcastServerListModel.Row > | rows | ) |
|
|
static |
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/snapcast/ui/SnapcastRendererGroupChoices.java