Patent attributes
An electronic device may play audio content to a user through a pair of earphones. The audio content may be content that is stored locally on the electronic device or may be streaming content that is provided by an online service. Control circuitry in the electronic device may monitor ear presence sensor structures in the earphones to determine whether the earphones are present in the ears of the user. In response to determining that the earphones have been removed from the ears of the user, the control circuitry may communicate with the online service provider. Communicating with the online service provider may include sending media streaming control commands to the online service provider. The media streaming control commands may, for example, include media streaming pause commands that instruct the online service provider to pause the audio content in response to the earphones being removed from the ears of the user.