TPA3118: coils and op-amp getting warm
Just as an example, if you are seeing 49.3 degC in an ambient of 25 degC, the op-amps are warming up 24.3 degC. The thermal resistance of the dual op-amp (NE5532) is circa 90 degC/watt so that would imply the dual op-amps are dissipating about 270 mW each.

The op-amp spec implies a total (both in a dual package) no load current of around 8 mA and, on a supply voltage of 24 volts, that's a power dissipation of 192 mW. Given that you are outputting a midrail of 12 volts (op-amp output) into possibly (say) a 5 kohm pot, that's an extra power of about 30 mW per channel. You have two channels and this takes the quiescent power from 192 mW to about 250 mW and you are almost at the 270 mW dissipation implied from the measured temperature, assumed ambient temperature and details in the data sheet.

By no means is my analysis precise. I've just thrown a few numbers at things and bounced them off the wall to get a ball-park estimate but, it looks believable.