How to set Potplayer as external player to play Bluray ISO or BDMV?

I want to play Bluray iso and BDMV with Potplayer(“C:\Program Files\DAUM\PotPlayer\PotPlayerMini64.exe”) in Kodi krypton.
Is anybody so kind to show me how to achieve the goal( add playercorefactory.xml in userdata folder)?
Thanks a lot.