Pandering to an audience is one thing, singing to the choir is another.
If you mean what you’re saying, you’re probably on the right path. Saying what the audience wants to hear but not being sincere, is another story. Whenever you’re making art you have to answer the question of who’s it for.
Is this for you or is it for someone else? If it’s for you, then as long as you feel good about it, great. If you’re making it for someone else, think of them first.
If it’s for someone else, look to what they’re consuming already and respect their choices.
You can pander, and probably get away with it for a while, but what I’ve found is the truth always comes out and if you’re on the wrong side of it, you may find future success impossible. If you want something sustainable, believe in what you’re doing.