import time from mpd import MPDClient time.sleep(10) client = MPDClient() client.timeout = 60 client.connect("localhost", 6600) client.clear() client.setvol(50) client.repeat(1) client.single(1) client.load("internetradio") client.play(0)