Wormhole X-Treme!

An alien ship approaches Earth, sending SG-1 to an old friend for some answers -- where they discover that Martin Lloyd has created a TV show about the Stargate program.