The episode was a blast, but had lots of plot holes.
1) "Duck." really. The Doctor had no basis of knowing that was going to happen, by the episode's own logic.
2) The DVDs. I'm guessing the Doctor came back after the TARDIS was returned, just to record the DVDs. How he would know that he'd get the right person to record them onto the discs, though...
3) For that matter, "I'll die when the rain stops." Uh... okay. Maybe the Doctor went into the future and read the medical records + weather reports for that day, and told the guy when the DVDs got recorded.
4) "Look to your left." I doubt the transcript mentioned a scruffy guy writing all that stuff down just to her left. Hell, the Doctor wouldn't have known where she was viewing it.
5) The Doctor had the transcript. Meaning, he knew what he was going to say before he said it. Yeah, time is "wibbly wobbly," but that one hurts my brain.
6) The Doctor's "trick" at the end was way too convenient. The chances of them ending up like that are crazy, and I would've preferred a more direct confrontation with them.
That said, I did enjoy the show, especially the ending.