Module pyatv.conf

Configuration used when connecting to a device.

A configuration describes a device, e.g. it's name, IP address and credentials. It is possible to manually create a configuration, but generally scanning for devices will provide configurations for you.

Classes

class AirPlayService (identifier: Optional[str], port: int = 7000, credentials: Optional[str] = None, properties: Optional[Mapping[str, str]] = None)

Representation of an AirPlay service.

DEPRECATED: Use ManualService instead.

Initialize a new AirPlayService.

Ancestors

Inherited members

class AppleTV (address: ipaddress.IPv4Address, name: str, deep_sleep: bool = False, properties: Optional[Mapping[str, Mapping[str, str]]] = None, device_info: Optional[DeviceInfo] = None)

Representation of a device configuration.

An instance of this class represents a single device. A device can have several services depending on the protocols it supports, e.g. DMAP or AirPlay.

Initialize a new AppleTV.

Ancestors

Inherited members

class CompanionService (port: int, credentials: Optional[str] = None, properties: Optional[Mapping[str, str]] = None)

Representation of a Companion link service.

DEPRECATED: Use ManualService instead.

Initialize a new CompaniomService.

Ancestors

Inherited members

class DmapService (identifier: Optional[str], credentials: Optional[str], port: int = 3689, properties: Optional[Mapping[str, str]] = None)

Representation of a DMAP service.

DEPRECATED: Use ManualService instead.

Initialize a new DmapService.

Ancestors

Inherited members

class ManualService (identifier: Optional[str], protocol: Protocol, port: int, properties: Optional[Mapping[str, str]], credentials: Optional[str] = None, password: Optional[str] = None, requires_password: bool = False, pairing_requirement: PairingRequirement = PairingRequirement.Unsupported)

Service used when manually creating and adding a service.

Initialize a new ManualService.

Ancestors

Subclasses

Inherited members

class MrpService (identifier: Optional[str], port: int, credentials: Optional[str] = None, properties: Optional[Mapping[str, str]] = None)

Representation of a MediaRemote Protocol (MRP) service.

DEPRECATED: Use ManualService instead.

Initialize a new MrpService.

Ancestors

Inherited members

class RaopService (identifier: Optional[str], port: int = 7000, credentials: Optional[str] = None, password: Optional[str] = None, properties: Optional[Mapping[str, str]] = None)

Representation of an RAOP service.

DEPRECATED: Use ManualService instead.

Initialize a new RaopService.

Ancestors

Inherited members