Add 'heartbeat' to MPD client, so we notice if we disconnect

This commit is contained in:
Danielle McLean 2024-07-29 10:55:27 +10:00
parent 68609f3d07
commit c29f4b9b27
Signed by: 00dani
GPG key ID: 6854781A0488421C
2 changed files with 14 additions and 3 deletions

View file

@ -9,6 +9,7 @@ class MPDClient(MPDClientBase):
def __init__(self) -> None: ...
async def connect(self, host: str, port: int = ...) -> None: ...
async def ping(self) -> None: ...
async def password(self, password: str) -> None: ...
def idle(self, subsystems: Sequence[str] = ...) -> AsyncIterator[Sequence[str]]: ...
async def status(self) -> types.StatusResponse: ...