class, ports=None, poll_seconds=10, *args, **kwargs)[source]

Backend that listens for notification and status changes on one or more [Snapcast]( servers.


__init__(hosts=None, ports=None, poll_seconds=10, *args, **kwargs)[source]
  • hosts (list[str]) – List of Snapcast server names or IPs to monitor (default: [‘localhost’]
  • ports (list[int]) – List of control ports for the configured Snapcast servers (default: [1705])
  • poll_seconds (float) – How often the backend will poll remote servers for status updated (default: 10 seconds)

Starts the backend thread. To be implemented in the derived classes if the loop method isn’t defined.