title: How do you check if music is playing by using a broadcast receiver?
body: <p>I would like to prevent some of my code from executing <em>only</em> when music or videos are currently playing. How would I accomplish this using a broadcast receiver?</p>