For far too many options, see this massive sheet for Kodi support, including newer formats like Dolby Vision and HDR variants: https://docs.google.com/spreadsheets/d/1Uyuw_1dADsRw7u1LGW6q...
Overall I am pretty happy with Kodi on my Android box. 90% of the content is streamed from a local Jellyfin server, so I can't comment on how well it works with DRM media. It occasionally [1] seems to hang, requiring a power reset. The next time it does, I will hook it up to a smart plug to simplify that as well. If you are into tinkering, CoreELEC is based on Linux and you have some basic tools already installed with more available from the addon repos. I have SSHed into LibreELEC to debug network issues with iperf and on a previous iteration to kick over Kodi with systemctl restart.
[1] gonna say less than once a month, I don't remember when it last happened
Are you sure? They will seek out open WiFi and other neighboring LG TVs as relays.
But better watch the whole video. Then get snarky again ;)