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).
Location: str
The url location of the media server (e.g. "http://192.168.1.248:40000/device.xml", etc).
ModelDescription: str
The model description of the media server (e.g. "Philips hue Personal Wireless Lighting", etc).