So, I've had some difficulties with a pair of headphones that I have. They are typical Apple ear-buds, but they're old and a little beat-up. Currently, sound only comes out of one of the ear-buds, the left one, but this isn't the issue.
Whenever I plug my headphones into a device, whether it be an Android Nexus 5 phone or an Apple MacBook Pro Mid 2010, I get 30 minutes free of problems, and then whatever device I use opens its music player app (Google Play Music or iTunes), and starts playing the first song on the tracklist, without me telling it to do so. I have tried closing the app, which has varying results based on whether the product is an Apple or a Google product:
- Apple: Waits 30 seconds-1 minute, then opens up iTunes again and plays songs at random on the track from the one that it was playing previously
- Google: Waits 30 seconds, then resumes the track that was previously playing
I was suspicious of a virus, but I don't think that the Apple Ear-buds have the data storage capabilities to transmit malware (Source: Can headphones transmit malware?).
Could this be an issue with a short in the headphone port? I doubt it, because it's occurred on two completely different devices.
Could it be a problem with the headphone jack? See above
Could it be a virus? I'm still not sure.
Things to note:
The Music-playing app always opens as the last one in the chain (Cmd+Tab) or line of running tasks (Square button).
Sometimes, music will "jump" around between songs before the app closes itself, other times, it plays the whole song.