Britney Spears has been set for a cameo role in an episode of TV musical comedy Glee that will be devoted to the pop star's music, according to The Hollywood Reporter.

The episode in the upcoming second season, however, will not poke fun at the former pop princess and her meltdown three years ago.

"Britney, I think 100%, is going to be on the episode. She is going to join us for a couple of scenes," show creator Ryan Murphy said in an interview with Los Angeles DJ Ryan Seacrest.

Murphy did not say what character Spears, 28, would play in the episode, which he described as "reverential...and so kind...We are handling Britney with kid gloves".