I can play a movie or something in the background, but only if its something I have watched before numerous times. 80s back catalogue, LOTR or BsG.
Arnie films are good. Can get a lot of coding done while listening to conan the barbarian,predator, total recall or running man as the soundtracks are great.
Music wise I find something I am not going to need to interact with and fire it up in another tab.
At the moment when I am coding its either a random 2 hr new wave retro remix on youtube or the CCP-EvE soundrack on soundcloud. The production, sound quality and style of the EvE soundtrack make it great background music and it just goes on and on and on for hours.