coherence.upnp.devices.media_server_client (module)

MediaServerClient

A class representing an media server client device.

class MediaServerClient(device)[source]

Bases: eventdispatcher.eventdispatcher.EventDispatcher, coherence.log.LogAble

    Changed in version 0.9.0:
  • Introduced inheritance from EventDispatcher

  • The emitted events changed:

    • Coherence.UPnP.DeviceClient.detection_completed => device_client_detection_completed

  • Changed some class variable to benefit from the EventDispatcher’s properties:

logCategory = 'ms_client'
detection_completed

To know whenever the device detection has completed. Defaults to False and it will be set automatically to True by the class method service_notified().

content_directory
remove()[source]
service_notified(service)[source]
state_variable_change(variable, usn)[source]
print_results(results)[source]
process_meta(results)[source]