Original songs from (non-musical) movies that are part of the plot

This might be difficult to understand but I’ll try my best to describe what I’m looking for:

Original, written-specifically-for-the-movie songs from movies that AREN’T traditional song-and-dance musicals (a la Singin’ In the Rain) that are in some way integral to the plot. Sung by the cast (or at least lip-synced) is a good indicator.

NOT just songs off the soundtrack
NOT songs from “music videos” within the movie (“Danger Zone”)
NOT songs just playing in the background
NOT songs that existed long prior to the movie (“La Bamba”)

There are probably going to be a lot of songs from mockumentaries and movies about fictional bands.

Examples:
“That Thing You Do”
“Let’s Duet” (Walk Hard)
“On the Dark Side” (Eddie and the Cruisers)
“Somebody Kill Me” (The Wedding Singer)
Almost anything from This Is Spinal Tap

“I’m Easy” from Nashville. There may be more from that movie, but I can’t think of them right now.

Falling Slowly from the movie Once.

Is Purple Rain a musical? If not, those songs.

I counted Walk Hard, so I’d count Purple Rain.

“Rock and Roll High School,” from the movie of the same name featuring the Ramones. The plot (such as it is) revolves around P.J. Soles’ character having written that song for them, and trying to get them to listen to it and record it themselves.

I’m Tired from Blazing Saddles
Always Look On the Bright Side of Life from Life of Brian
Springtime For Hitler from The Producers
also Aimee Mann’s Wise Up from Magolia although she actually wrote it for Jerry Maguire and although it’s on the soundtrack it wasn’t in the movie.

Maybe not completely “original”, but “Home in the Meadow” (Greensleeves) in “How the West Was Won”.
This song is as integral as it gets as it is passed down (and sung) by various members of the different generations of the pioneering family.

But Once is listed as a musical, and the later stage version even won a Tony for it.

Monty Python and the Holy Grail for Neil Innes’s “Camelot Song” and “Brave Sir Robin.”

“Hail Fredonia” from Duck Soup, as well as “The Country’s Going to War.”

The Mcguffin song from The Lady Vanishes.

The concerto in The Man Who Knew Too Much (composed for the movie).

Susan Alexander Kane’s Salammbo arias (also composed for the movie) in Citizen Kane.

“Jeremiah Johnson” from the film of the same name sung by Tim McIntire.

ICK!

There’s that balladeer guy who sings little narratives between scenes in “There’s Something About Mary”

Borat singing the “Kazakhstan national anthem” at the rodeo.

“One Trick Pony” (One Trick Pony)
“Way Back into Love” (Music and Lyrics)
“Songs to Aging Children Come” (Alice’s Restaurant)

***Postcards from the Edge *** was not a musical, but it ends with newly sober Meryl Streep trying to reinvent herself as a country singer and performing Shel Silverstein’s “I’m Checking Out.”

The entire movie ***You Light Up My Life ***was built around an aspiring singer (Didi Conn) who wrote and sang a song by that same name.

“Feel My Heat,” as performed by Dirk Diggler and Reed Rothchild in Boogie Nights. Diggler also performed “The Touch,” but that was a cover of the seminal Stan Bush song.

“Jai Ho” from Slumdog Millionaire, because you just can’t have a Bollywood movie without at least one big dance number with the whole cast. And there’s no other good way to wrap it up.

“Wise Up” by Aimee Mann in the movie Magnolia might or might not count. It wasn’t written specifically for the movie, but it hadn’t been used before. And it could be seen as a music video in the movie, but that scene is a part of the plot.

Oh, great call.

“The heeeeeeeat wiiiillll rock you.
The heeeeeeeeeat wiiiiillll roll you…”

“Ladies of Tampa” in Magic Mike is performed by Matthew McConaughey at the end of the movie, and I think would count for this thread.

“Feel feel feel feel … feel my heeeeeat (feel my heeeeeat).”

Were we rolling on rehearsal?

Back to the topic: “Suicide is Painless” was performed during the “funeral” scene of the movie MASH.

“The All-American Girls Professional Baseball League Song” by the baseball players of A League of Their Own

Oops, nevermind, on further reading I see this actually was the league’s official song written back in the 40s…