Madonna granted American TV show Glee the rights to her entire catalogue of music, and the producers planned an episode featuring Madonna songs exclusively.