Unable to use external player with Kodi Portable

Hello everyone,

I’m having trouble setting my Kodi Portable installation to use MPC-HC as default for MKV files. My MPC-HC installation is also portable, by the way. I’ve already tried some suggestions I read online, but I’m still stuck here. I’m running Kodi 20.4 on Windows 11.

My playercorefactory file looks like this: https://pastebin.com/kdW5nZZf

And here’s my latest debug log: https://paste.kodi.tv/iluyuvabuy

The debug log seems to indicate that the playercorefactory file is being loaded correctly, but it can’t seem to find the MPC-HC installation path. However, the path is indeed correct.

What could I be missing here?