You could hook up a circuit to the line outputs on the headunit too, so that when a defined level of audio is present it will trigger the mute line.