Possible to use more than one playercorefactory.xml file?
#1
I added an extra menu setting to Kodi.
'Use External Video Player - MXPlayer, Stock Video Player.

I want the extra menu setting to load eg. playercorefactory2.xml file(For a MXPlayer setup), playercorefactory3.xml file(For a stock video player setup) etc.
Eg. 'const std:Confusedtring CSettings::SETTING_VIDEOPLAYER_ENABLEEXTERNALPLAYER = "videoplayer.enableexternalplayer"

It is mainly to play Hi10p 10-bit H264 files that don't work with Mediacodec but works on other players on some devices.

I want to add all the files to the system folder so they are already available.
/system/playercorefactory.xml

Just not sure what to change in Kodi code to distinguished between the different files if a different condition of the External Player menu item I added is selected.
It must do the same as pressing 'c' and eg. selecting MXPlayer as external player but all automatic depending on the menu setting users changed.

Anyone that can help with such a problem?
Reply

Logout Mark Read Team Forum Stats Members Help
Possible to use more than one playercorefactory.xml file?0