How to add codec to Choose Version in 0.1.3



How to show x265 or x264 in the choose version
I have shows with content in x265 and x264. On my samsung smart tv when choosing a version it shows hevc and x264 with different bitrate.
On my mxq with 0.1.3 plex for kodi it only shows bitrate and resolution. Does anybody have any idea on how to add codec
I've searched in a lot of files in the addon and tried to modify those files

I have the feeling I am so close with the solution but my somewhat lack of python made me search the entire day

I know I can create a different library only for x265 but I want to keep it as compact as possible