Fetching details from the dictionary...

flattery; compliment
お世辞だと分かっていても褒められると嬉しい。
Even knowing it is flattery, being praised still feels good.
彼女はお世辞が上手で誰とでもうまく付き合える。
She is good at compliments and gets along well with everyone.
お世辞にも上手とは言えない歌を聞かされた。
I was made to listen to singing that could not be called good even as flattery.