Added support for sonos subs. You can get them with methods similar to players (getSub and getSubByUUID), but a sub is also added as a property to the player object to which it belongs. So
var player=discovery.getPlayer('family room');
might have a player.sub attribute if the family room zone has a sub attached.
Added support for sonos subs. You can get them with methods similar to players (getSub and getSubByUUID), but a sub is also added as a property to the player object to which it belongs. So
might have a
player.sub
attribute if the family room zone has a sub attached.