Make sure you have Passthrough = HDMI in the Plex app settings on the TV (not Optical or Disabled). Even with that set, it may not work.
AFAIK, TV manufacturers to not permit any TV app to pass TrueHD and dts-HD via HDMI-eARC.
A Blu-ray player, streaming box, etc attached to the TV via HDMI can pass TrueHD/dts-HD audio through the TV, via HDMI-eARC, to attached soundbars, receivers, etc.
This would be great news if it is working with other apps. It would mean at least one manufacturer has lifted the restriction on TV apps sending HD audio via HDMI-eARC.
Could you provide additional details to confirm things?
What make/model of soundbar are you using?
Please provide the the Plex XML or MediaInfo text output of the media files you are using. See Investigate Media Information and Formats for details on gathering the information. Save the information as a .zip or .txt file and attach it to the thread.
The XML/MediaInfo information will show the specifics of the video and audio tracks.
There are two forms of Atmos audio for home theaters.
“Streaming Atmos” is Dolby Digital Plus + Atmos, and is used by Netflix, Amazon, etc. TV apps can pass this form of Atmos to attached sound equipment via HDMI-ARC and HDMI-eARC.
“Blu-ray Atmos” is TrueHD 7.1 + Atmos and is the form found on Blu-ray discs. TV manufacturers restricted TV apps from sending TrueHD audio to attached sound equipment via HDMI-eARC (HDMI-ARC cannot pass TrueHD due to bandwidth limitations).