I have spoken of this before, but never committed it to writing. I have named the so-called deus ex machina, or plot device, that finds its way into movies and television shows. I call it Pd, in the tradition of boring mathematics. Besides, most of the Greek alphabet is already taken, and I don't want to use the Cyrillic alphabet yet.
So, here goes:
In every television show or movie, just before you go "what the f'ck?" at one of those moments that don't make sense, consider Pd.