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