I've created an addon that allows you to play music when you enter/leave combat. (Note that with the current "in combat" bug you may find yourself in combat more often than you'd like.)
You'll need to configure it, but a ReadMe file explains how to do it.