def play(track, playlist): itunes.tell('play track "%s" of playlist "%s"' % (track, playlist))
def get(): if itunes.pid(): return int(itunes.tell('sound volume').out)
def play(playlist_name): return itunes.tell('play playlist named "%s"' % playlist_name)
def change(value): itunes.tell('set sound volume to %s' % value)
def names(): return itunes.tell('get name of playlists').split(", ")