def nextSong():
    global lights, status
    light.turnOFF(lights['green'])
    light.blink(lights, 3)
    audio.nextSong()
    light.turnON(lights['yellow'])
    status = 1
def stop():
    global lights, status
    light.turnOFF(lights['green'])
    audio.stop()
    light.turnON(lights['yellow'])
    status = 1
def pause():
    global lights, status
    light.turnOFF(lights['green'])
    audio.pause()
    light.turnON(lights['red'])
    status = 3
def play():
    global lights, status
    light.turnOFF(lights['yellow'])
    audio.play()
    light.turnON(lights['green'])
    status = 2