/
/
/
1"""Universal Player constants."""
2
3from __future__ import annotations
4
5from typing import Final
6
7UNIVERSAL_PLAYER_PREFIX: Final[str] = "up"
8
9# Config key for storing device identifiers (MAC, UUID, etc.)
10CONF_DEVICE_IDENTIFIERS: Final[str] = "device_identifiers"
11
12# Config key for storing device info (model, manufacturer)
13CONF_DEVICE_INFO: Final[str] = "device_info"
14
15# Config key for the moment a universal player was created, as a nanosecond
16# timestamp so players created in the same second still order, used to let the
17# older player win when two of them merge.
18CONF_CREATED_AT: Final[str] = "created_at"
19