A good insult and or beating from a friend usually works.
( just friends though )
Also, I try to make sure that the last song I listen to, before hitting the trail,is something I kind of like. It's usually in my head for most of the day so, it might as well be a good one.