playercorefactory problem
#1
hi, please can someone tell me whats wrong with this below, its playing all media using the 4k player.


the 3D player triggers ok for files with "MVC" in the name but kodi just plays everything else using the 4k player, files with 4k them and without, , i just want KODI to use the external player for files with 4K in them and play everything else inplayer as normal.

Thanks for looking.



<playercorefactory>
<players>
<player name="3DPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-HC\mpc-hc64.exe</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
<player name="4kPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-BE x64\mpc-be64.exe</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>




</players>

<rules action="prepend">

<rule filename=".*MVC*" player="3DPlayer"/>
<rule filename=".*4K*" player="4kPlayer"/>



</rules>
</playercorefactory>










Reply
#2
Don't quote me on this but, I don't think you can use rule filename twice, only one instance.
However, you can use multiple rule filetypes.
Also, I have found the order matters. Try switching

<rule filename=".*MVC*" player="3DPlayer"/>
<rule filename=".*4K*" player="4kPlayer"/>

to

<rule filename=".*4K*" player="4kPlayer"/>
<rule filename=".*MVC*" player="3DPlayer"/>

You could also try adding player="VideoPlayer" (the Kodi internal player) and assign filename and/or filetypes.
Lastly, you probably don't need any of this:

<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>

and if for some reason you do, change xbmc to kodi.

You may find some hints to apply for yourself in the guide in my signature.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply
#3
that didnt work but thanks for replying, i found another way around it. I've renamed all my 4k stuff to .mpg and set the players based on extension rather than file name, this works, the player still plays the files correctly even though they have the wrong file extension.

thanks again for your advice
Reply

Logout Mark Read Team Forum Stats Members Help
playercorefactory problem0