bootstrap.py 193 B

123456789101112
  1. import time
  2. from mpd import MPDClient
  3. client = MPDClient()
  4. client.timeout = 60
  5. client.connect("localhost", 6600)
  6. client.clear()
  7. client.load("internetradio")
  8. client.setvol(60)
  9. client.play(0)