Personally I listen to music while doing any and everything! I don't feel that it affects me in any negative ways other than focusing. When I am in tune with the song it is hard to focus on the task at hand. But, in contrast to that, specifically while I am working out I feel that it gives me a good cadence when I am doing cardio. And, depending on the song it gives me a boost of motivation and drive to push harder.
From the searching and research I have done my personal findings are valid. According to "Psychology Today .com" Doing complex tasks while listening to music makes it harder to focus on that task at hand. Although some aspects I didn't think of; It boosts creativity and helps during doing monotonous or repetitive tasks. (Autopilot) In retrospect to that It makes it more difficult to perform tasks that require reading or writing.
In conclusion, as I said before music does help boost your mood. Some research I found explains that music helps the release of dopamine in the brain which boosts your mood. So keep up the music when doing everything else. But maybe when it comes time to do homework or study its better to turn it down. :'(