Host Jamie Foxx poses in the press room during the 2015 iHeartRadio Music Awards which broadcasted live on NBC from The Shrine Auditorium on March 29, 2015 in Los Angeles, California

Host Jamie Foxx poses in the press room during the 2015 iHeartRadio Music Awards which broadcasted live on NBC from The Shrine Auditorium on March 29, 2015 in Los Angeles, California

*Jamie Foxx says he was inspired to write the title track of his upcoming album “Hollywood” by an ex-girlfriend and her stank behavior.

He tells “Jimmy Kimmel Live!” that the woman, a celebrity, was more interested in hitting up red carpet events than looking after him when he was under the weather.

“This is what you learn about Hollywood – sometimes the person that you are dating is really not all that into you; it’s maybe, like, a step-up to whatever’s next. I found this out in a weird way,” he said.

“I was supposed to go to a premiere and I got, like, a 104 temperature, so I’m laying in the bed and the girl I was dating at the time goes, ‘What are we doing… It’s the premiere!’ I said, ‘I’m sick, can’t you see I’m sick?’

“(She says), ‘Well I’ve got this dress… and people are there, they’re gonna be on the red carpet for me…’ So I get up, go to the closet, grab the dress and I say, ‘Go ahead, but don’t come back!’

“That was something that tripped me out… I understood and then I seen her float on to somebody else in Hollywood… The song brilliantly tells that story.”

Watch Foxx’s “Jimmy Kimmel Live!” interview below: