While listening to the music on the speaker of my LG Nexus 4, I received a call. After the call was terminated, the music was coming from the ear piece. Paused the music and played it again and everything became normal again.
This bug has been there before, hope it gets fixed in the next...