bosesoundtouchapi.models.mediaserver

@export
class MediaServer:

SoundTouch device MediaServer configuration object.

This class contains the attributes and sub-items that represent a single UPnP media server configuration of the device.

MediaServer(root: xml.etree.ElementTree.Element)

Initializes a new instance of the class.

Arguments:
  • root (Element): xmltree Element item to load arguments from.
    If specified, then other passed arguments are ignored.
FriendlyName: str

The friendly name of the media server (e.g. "Home (Home Assistant)", "Hue Bridge", etc).

IpAddress: str

The IPV4 address assigned to the media server by the network.

Location: str

The url location of the media server (e.g. "http://192.168.1.248:40000/device.xml", etc).

MacAddress: str

The MAC address (media access control address) assigned to the media server.

Manufacturer: str

The manufacturer of the media server (e.g. "Home Assistant", "Signify", etc).

ModelDescription: str

The model description of the media server (e.g. "Philips hue Personal Wireless Lighting", etc).

ModelName: str

The model name of the media server (e.g. "Home Assistant OS", "Philipss Hue Bridge", etc).

ServerId: str

Globally unique identifier (guid) of the media server.

def ToString(self) -> str:

Returns a displayable string representation of the class.