bosesoundtouchapi.models.mediaserverlist

@export
class MediaServerList:

SoundTouch device MediaServerList configuration object.

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

MediaServerList(root: xml.etree.ElementTree.Element = None)

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.

The list of MediaServer items.

def ToString(self, includeItems: bool = False) -> str:

Returns a displayable string representation of the class.

Arguments:
  • includeItems (bool): True to include all items in the list; otherwise False to only include the base list.