Shazam, best known as a music-identification app, is venturing deeper into the social TV sphere Monday with the expansion of its Shazam for TV second-screen experience.

Shows and advertisements have already been compatible with Shazam via partnerships — notably the London Olympics and Super Bowl commercials — but now Shazam works with all shows on 160 channels in the U.S. except for some local programming.

When I used Shazam while watching Friends, for example, the app pulled up cast details, music from the episode, celebrity gossip about the actors, trivia, Twitter messages, the show's web pages (i.e. official, IMDB and Wikipedia), merchandise and the option to share Shazam's information on Facebook and Twitter.

For sports broadcasts, the app aggregates schedules, scores and statistics (check out the gallery below).

Doug Garland, Shazam's chief revenue officer, tells Mashable that the "much richer experience" will encourage users to return to the app. The celebrity buzz data alone combs 140 sites, while Facebook integration pushes Shazam activity to users' Timelines.

Users will soon be able to like and comment on Facebook friends' tags in-app. And first-time users can now log in using their Facebook accounts. Shazam also notes that 250 million people have used the app worldwide.