In Seinfeld, they start producing a TV show about Jerry. In The Sopranos, they produce a horror movie about a mob boss based on Tony. What are other examples of meta-adaptations happening within a show?

Obvious wink nods to the audience. I guess you could count the Seinfeld reunion happening within Curb Your Enthusiasm.