Complex sentence: Dr. Grant calls Charlie when he is being attacked by the "Spinosaurus" and then he is distracted by the television where the show that was playing is ironically, "Barney the Dinosaur".
Split into simpler sentences: Dr. Grant calls Charlie when he is being attacked by the "Spinosaurus" and then he is distracted by the television. The show that distracts him is, ironically, "Barney the Dinosaur".