From eb7509a4e04c4affc3ae17263a71dbf343777d1f Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Wed, 6 Dec 2023 11:54:28 +1100 Subject: [PATCH] Whoops, correctly call MpdStateListener.start() --- src/mpd_now_playable/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpd_now_playable/cli.py b/src/mpd_now_playable/cli.py index 8c41379..aa6a09a 100644 --- a/src/mpd_now_playable/cli.py +++ b/src/mpd_now_playable/cli.py @@ -16,7 +16,7 @@ async def listen() -> None: listener = MpdStateListener() now_playing = CocoaNowPlaying(listener) - await listener.start(hostname=host, port=port, password=password) + await listener.start(host=host, port=port, password=password) await listener.loop(now_playing)