Headphones with a lightsensor

Problem: somebody says something when I have my headphones on.

Idea: headphones that automatically pause the music when taken off (using a lightsensor) and resume when you put them back on.

Who will build these for me? :)

A visual representation of what I mean