Add 'heartbeat' to MPD client, so we notice if we disconnect
This commit is contained in:
parent
68609f3d07
commit
c29f4b9b27
2 changed files with 14 additions and 3 deletions
|
@ -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: ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue