I'm a pianist with an active performing schedule and I'm the same way. I'll listen to music at work if I have relatively mindless tasks to get out of the way, but when it comes to actual coding or anything requiring careful thought, forget it. All music ends up being distracting, either because I really enjoy it or because I find it really annoying.
I'd be curious to know if there are any serious musicians here who can concentrate on writing code or any other similarly mentally-intensive task while listening to music.