That sounds like a bad electrical connection somewhere then. Try a different cable? Hopefully its not a bad jack in the stereo.
FWIW the way most stereos detect a load is by putting an extra pin in the jack. When you insert a plug it closes a circuit.