Whoops, correctly call MpdStateListener.start()
This commit is contained in:
parent
9a05d33177
commit
eb7509a4e0
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ async def listen() -> None:
|
||||||
|
|
||||||
listener = MpdStateListener()
|
listener = MpdStateListener()
|
||||||
now_playing = CocoaNowPlaying(listener)
|
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)
|
await listener.loop(now_playing)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue