5 from mpdaio.client import MPDClient
7 logging.basicConfig(level=logging.DEBUG,
8 format='%(levelname)-8s %(module)-10s %(message)s')
13 current = await cli.currentsong()
16 await cli.currentsong()
17 await cli.playlistinfo()
18 await cli.list('artist')
19 #print(await cli.playlistinfo())
22 if __name__ == '__main__':
23 asyncio.run(run_cli())
24 asyncio.run(run_cli())
25 #t = timeit.Timer('asyncio.run(run_cli())', globals=globals())
27 with asyncio.Runner() as runner: