Which controls the device's own source offers right now (docs/tech.md, section 12).
More...
|
| static boolean | ownSourceActive (YxcDeviceState state) |
| | Whether the device plays a source of its own on its main zone: a network source whose play info is the zone's input, or the tuner (with its play info).
|
| |
|
static boolean | rowMapsToOwnSource (YxcDeviceState state, boolean yaaccActive) |
| | Whether the row's play / pause / stop buttons work on the device's own source: the device plays one and yaacc has no player on it that plays or is paused (a paused yaacc track keeps the buttons for the UPnP transport, otherwise a press would leave yaacc's queue and the device out of step).
|
| |
| static Set< Control > | available (YxcDeviceState state, boolean yaaccActive) |
| |
| static Set< Control > | available (YxcDeviceState state) |
| |
| static String | nextRepeat (YxcPlayInfo info) |
| | The repeat mode after current in the list the source offers (off, one, all, as listed), null when the list is empty.
|
| |
|
static String | nextShuffle (YxcPlayInfo info) |
| | The shuffle mode after the current one in the list the source offers, null when the list is empty.
|
| |
Which controls the device's own source offers right now (docs/tech.md, section 12).
A control is offered only if the source says it can do it: the bits of the play info's attribute (bit 0 play, 1 stop, 2 pause, 3 previous, 4 next; a reading of captured answers: a net radio, which has only play and stop, accepts the other calls with response_code 0 and does nothing), the lists repeat_available and shuffle_available, and for the tuner the band. Pure.