|
YAACC - UPNP Client and Server
|
The streams of a server as the choices of a group's stream picker. More...

Classes | |
| class | Choice |
| One stream of the picker. | |
| enum | Reason |
| Why a stream can not be chosen. More... | |
Static Public Member Functions | |
| static List< Choice > | of (SnapcastServerStatus status, String groupId, String marker) |
| static boolean | isOwnFeed (String streamId, String marker) |
True when the stream name is YAACC <phone name> <marker> with this install's marker. | |
The streams of a server as the choices of a group's stream picker.
Pure.
The label of a stream is its id cleaned as display text (the id of a stream is its name); the raw id is kept for the call that sets it, and only for that. A stream that the server has switched off (disabled) can not be chosen; the stream the group plays now needs no change; YAACC's own feed stream of this phone is marked (its name is YAACC <phone name> <marker>), so that a user does not mistake it for a music source.
|
static |
True when the stream name is YAACC <phone name> <marker> with this install's marker.
A name that only ends with the marker, or that has the prefix without the marker, is not ours.
Referenced by de.yaacc.snapcast.ui.SnapcastStreamChoices.of().

|
static |
| status | the server's status; null gives an empty list |
| marker | the marker of this install in YAACC's stream names, or null when none was made yet |
