Win Help editing PlayerCoreFactory.xml file for external player
#1
I found this playercorefactory.xml file for using kmplayer as an external player

<playercorefactory>
<players>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\The KMPlayer\KMPlayer.exe</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>

</player>
</players>
<rules action="prepend">

<rule filetypes="m2ts|mkv|avi|ts" player="Universal_Player"/>

</rules>
</playercorefactory>


I need help editing it so it only plays two specific files which are both hi10p 1080p files
Kmplayer with Lavfilter can handle them but xbmc frodo cant
The file names are pokemonthemovie2000.mkv and PokemonMewtwostrikesback.mkv
Reply
#2
Modify the file name to include hi10p like pokemonthemovie2000hi10p.mkv. Then replace the line <rule filetypes="m2ts|mkv|avi|ts" player="Universal_Player"/> to <rule filetypes="mkv" filename="*hi10p*" player="Universal_Player"/>
Reply
#3
Tried this but it still isnt working. Does it have to be the whole filename or just the hi10p
Reply
#4
Try the following code. You should name the file to pokemonthemovie2000.hi10p.mkv. Also enable the option 'Use a fullscreen window rather than true fullscreen' in system>video output.


Code:
<playercorefactory>
<players>
    <player name="HI10P_Player" type="ExternalPlayer" audio="false" video="true">
         <filename>C:\Program Files\The KMPlayer\KMPlayer.exe</filename>
         <args>"{1}"</args>
         <hidexbmc>True</hidexbmc>
         <hideconsole>true</hideconsole>
         <forceontop>false</forceontop>
    </player>
</players>

<rules action="prepend">
    <rule filename=".*hi10p*" player="HI10P_Player"/>
</rules>
</playercorefactory>
Reply

Logout Mark Read Team Forum Stats Members Help
Help editing PlayerCoreFactory.xml file for external player0