public PlayerState playerState(JukeboxStatusResponse status) { return(status.jukeboxStatus.playing ? PlayerState.Playing : PlayerState.Stopped); }
private int volume(JukeboxStatusResponse status) { return((int)(100.0 * status.jukeboxStatus.gain)); }