Aspect ratio

This is more a question if it’s possible or not… I have a screen masking system I’ve setup to control with my Logitech Harmony hub remote. I know in Plex you can see the aspect ratio of the content playing on the XML file of the server. If there is a way to pull this info into openhab to create rules I can trigger my screen masking system to set the correct setting.