UK BASED ∙ UK STOCK ∙ ESTABLISHED 2010
2 YEAR WARRANTY ∙ FAST DELIVERY
EXPERT TECHNICAL SUPPORT
4-JUN INTRUDUCING R_VOLUTION   3-JUN ZIDOO Z9X 8K AND Z30 PRO PRICE RISE   2-JUN INTRODUCING XIAOMI TV BOX S GEN 3 WITH COREELEC
Zidoo UHD8000
8K Media Player with 2x 3.5" HDD bays , ESS audio DAC and dual HDMI.
  INCLUDES EXPRESS 2-4 DAY DELIVERY 
This forum was closed in October 2025 in response to sustained DDOS type attacks. It has been left up read-only to allow access to support information and downloads. Thanks to all the users who contributed over the years.

Visit futeko.com for new Audio and Video Media Players!

Author Topic: Playercorefactory improvement (HMD 2.1.4)  (Read 9476 times)

newsea

  • Newbie
  • *
  • Posts: 13
Playercorefactory improvement (HMD 2.1.4)
« on: September 20, 2019, 04:15:51 PM »

Mount81

  • Senior Member
  • ***
  • Posts: 1097
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #1 on: September 20, 2019, 05:58:17 PM »
<rule filetypes="avi" player="DVDPlayer">
<rule filename=".*.avi" player="DVDPlayer"/>

But what old version are you using? What Firmware and what KODI?

DVDPlayer used in KODI 16.1 and earlier. Now it's own player named "VideoPlayer" in the corefactory file.

newsea

  • Newbie
  • *
  • Posts: 13
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #2 on: September 20, 2019, 06:15:50 PM »
FW is 2.1.4 from here:
https://www.mediafire.com/?wwxwpvnc0u890#qd5cx12biqoyy

and Kodi 18.4 (if my memory serves me right).

Thank you for your advice. Will try to change. Important note!

newsea

  • Newbie
  • *
  • Posts: 13
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #3 on: September 20, 2019, 07:34:11 PM »
Unfortunately, it doesn't work
Replaced "DVDPlayer" to "VideoPlayer" in playercorefactory file and rebooted device but no Kodi player for "avi" :-(  Wrapper still liked to "AVI" files by default.

<?xml version="1.0" encoding="UTF-8"?><playercorefactory>
<players>
<player name="Wrapper" type="ExternalPlayer" audio="false" video="true">
<filename>com.himedia.xbmcwrapper</filename>
<playcountminimumtime>120</playcountminimumtime>
</player>
<player name="VideoPlayer" audio="true" video="true"/>
</players>
<rules action="prepend">
<rule internetstream="true" player="VideoPlayer"/>
<rule protocols="smb|nfs|webdav">
<rule video="true" player="Wrapper"/>
<rule dvd="true" player="Wrapper"/>
<rule dvdimage="true" player="Wrapper"/>
<rule dvdfile="true" player="Wrapper"/>
<rule filename=".*BDMV.*" player="Wrapper"/>
<rule filename=".*bdmv" player="Wrapper"/>
<rule filename=".*.ISO" player="Wrapper"/>
<rule filename=".*.iso" player="Wrapper"/>
<rule action="append" name="AVI" protocols="avi" filetypes="avi" player="VideoPlayer"/>
</rule>
<rule video="true" remote="false">
<rule video="true" player="Wrapper"/>
<rule dvd="true" player="Wrapper"/>
<rule dvdimage="true" player="Wrapper"/>
<rule dvdfile="true" player="Wrapper"/>
<rule filename=".*BDMV.*" player="Wrapper"/>
<rule filename=".*bdmv" player="Wrapper"/>
<rule filename=".*.ISO" player="Wrapper"/>
<rule filename=".*.iso" player="Wrapper"/>
<rule action="append" name="AVI" protocols="avi" filetypes="avi" player="VideoPlayer"/>
</rule>
</rules>
</playercorefactory>

Mount81

  • Senior Member
  • ***
  • Posts: 1097
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #4 on: September 23, 2019, 04:27:27 AM »
Backup your current playercorefactory.xml file and replace completely:

<playercorefactory>
<players>
<!-- himedia player for video -->
      <player name="Wrapper" type="ExternalPlayer" audio="false" video="true">
         <filename>com.himedia.xbmcwrapper</filename>
         <hidexbmc>true</hidexbmc>
         <playcountminimumtime>120</playcountminimumtime>
      </player>

</players>

<rules action="prepend">

<!--network protocol rules-->

<rule protocols="http|https|rtmp|sop" player="VideoPlayer" /> <!--all http-->
<rule protocols="nfs|smb" player="Wrapper" /> <!--all nfs|smb-->

<!--internet streams rules-->

<rule protocols="pvr" player="VideoPlayer" /> <!--all pvr-->
<rule internetstream="true" player="VideoPlayer" /> <!--all streams-->

<!--video audio channels rules-->

<rule video="true" audiochannels="6" player="Wrapper" /> <!--5.1 audio-->
<rule video="true" audiochannels="8" player="Wrapper" /> <!-- 7.1 audio-->

<!--video resolution rules-->

<rule video="true" videoresolution="480" player="VideoPlayer" />
<rule video="true" videoresolution="540" player="VideoPlayer" />
<rule video="true" videoresolution="576" player="VideoPlayer" />
<rule video="true" videoresolution="720" player="Wrapper" />
<rule video="true" videoresolution="1080" player="Wrapper" />
<rule video="true" videoresolution="2160" player="Wrapper" /> <!--4K-->

<!--audio / music rules-->

<rule audio="true" player="PAplayer"/> <!--all audio to kodi internal music player-->

<!--specific codecs rules-->

<rule video="true" audiocodec="truehd|true-hd|dtshd|dts-hd|dts" player="Wrapper"/>

<rule filename=".*.3D.*|.*.3D.iso|3D.*|*.m2ts|.*.m2ts" player="Wrapper"/>
<rule filename=".*.avi|*.avi" player="VideoPlayer"/>
<rule filetypes="iso|bdmv|mpls|m2ts" player="Wrapper"/>
<rule filetypes="avi" player="VideoPlayer"/>
<rule videocodec="xvid|divx|div3|div4|div5" player="VideoPlayer"/>
<rule video="true"  player="Wrapper"/>   
</rules>
</playercorefactory>


Lines with video resolution might be unnecessary, try to remove them if otherwise the filetype, filename and the videocodec rules are working. 

Also the line <rule video="true" audiochannels="6" player="Wrapper" /> <!--5.1 audio--> might be confront the avi rules if the avi video file contains 5.1 channel audio. Might have to be also removed. But try it first.
 
« Last Edit: September 23, 2019, 04:54:57 AM by Mount81 »

newsea

  • Newbie
  • *
  • Posts: 13
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #5 on: September 23, 2019, 07:15:32 PM »
Thank you very much!
Will test tomorrow and reply.

newsea

  • Newbie
  • *
  • Posts: 13
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #6 on: September 24, 2019, 01:20:12 PM »
Replaced my playercorefactory file with the new one. Unfortunately, avi files still linked to wrapper by default ? Not to Kodi VideoPlayer. Looks like it will be easier to recode Dvix files to Xvid than tune players up correctly.

Mount81

  • Senior Member
  • ***
  • Posts: 1097
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #7 on: September 24, 2019, 05:36:24 PM »
Reencode is always with quality loss. Besides Xvid also uses the avi container.

Try this and modify just these lines:

<!--specific codecs rules-->

<rule video="true" audiocodec="truehd|true-hd|dtshd|dts-hd|dts" player="Wrapper"/>
<rule video="true" videocodec="xvid|divx|div3|div4|div5" player="VideoPlayer"/>

newsea

  • Newbie
  • *
  • Posts: 13
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #8 on: September 24, 2019, 08:14:52 PM »

DancesWithChickens

  • Senior Member
  • ***
  • Posts: 140
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #9 on: September 25, 2019, 08:01:59 PM »
i changed mine so that Wrapper opens  videos with surround sound and image files (BR/DVD isos) and MX player free is used for streams, since KODI's internal player is strugling with some hq streams (e.g. Twitch addon).

if you want .avi files to be opened by a specific player,
just specify it with the "rule filename" line.


Code: [Select]
<playercorefactory>
<players>
<!-- himedia player for video -->
<player name="Wrapper" type="ExternalPlayer" audio="false" video="true">
<filename>com.himedia.xbmcwrapper</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
</players>

<rules action="prepend">

<!--network protocol rules-->

<rule protocols="nfs|http|rtmp|sop" player="VideoPlayer" /> <!--all nfs-->

<!--internet streams rules-->

<rule protocols="pvr" player="VideoPlayer" /> <!--all pvr-->
<rule internetstream="true" player="VideoPlayer" /> <!--all streams-->

<!--video audio channels rules-->

<rule video="true" audiochannels="6" player="Wrapper" /> <!--5.1 audio-->
<rule video="true" audiochannels="7" player="Wrapper" />
<rule video="true" audiochannels="8" player="Wrapper" /> <!-- 7.1 audio-->

<!--video resolution rules-->

<rule video="true" videoresolution="2160" player="Wrapper" /> <!--4K-->

<!--audio / music rules-->

<rule audio="true" player="PAplayer"/> <!--all audio to kodi internal music player-->

<!--specific codecs rules-->

<rule video="true" audiocodec="truehd|true-hd|dtshd|dts-hd|dts" player="Wrapper"/>

<rule filename=".*.3D.*|.*.3D.iso|3D.*" player="Wrapper"/>
<rule filetypes="iso|bdmv|mpls|m2ts|img" player="Wrapper"/>

</rules>
</playercorefactory>--specific codecs rules-->

<rule video="true" audiocodec="truehd|true-hd|dtshd|dts-hd|dts" player="Wrapper"/>

<rule filename=".*.3D.*|.*.3D.iso|3D.*" player="Wrapper"/>
<rule filetypes="iso|bdmv|mpls|m2ts" player="Wrapper"/>
<rule video="true"  player="Wrapper"/>
</rules>
</playercorefactory>


newsea

  • Newbie
  • *
  • Posts: 13
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #10 on: September 27, 2019, 06:54:20 PM »

Mount81

  • Senior Member
  • ***
  • Posts: 1097
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #11 on: September 28, 2019, 06:41:58 AM »
If you're stream from NFS share, than modify this:

Code: [Select]
<!--network protocol rules-->

<rule protocols="nfs|http|rtmp|sop" player="VideoPlayer" /> <!--all nfs-->

To this:
 
Code: [Select]
<!--network protocol rules-->

<rule protocols="http|https|rtmp|sop" player="VideoPlayer" /> <!--all http-->
<rule protocols="nfs|smb" player="Wrapper" /> <!--all nfs|smb-->

newsea

  • Newbie
  • *
  • Posts: 13
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #12 on: September 28, 2019, 10:56:12 AM »
Yes, you are right, I stream them from NFS share.
I modified playercorefactory according to your tips and mkv files and 4K discs start in Wrapper but avi starts too, as far as they are shared by the same protocol. How to make exclusion for them (in nfs/samba)? Could you please advise?

Mount81

  • Senior Member
  • ***
  • Posts: 1097
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #13 on: September 28, 2019, 04:32:08 PM »
Not surely so deep in to this playercore modification stuff, but maybe try to place the </playercorefactory>--specific codecs rules--> section over the <!--network protocol rules--> section in order.


BTW here's a short and a bit info lacking description and you could also ask it on the official KODI Forum.

newsea

  • Newbie
  • *
  • Posts: 13
Re: Playercorefactory improvement (HMD 2.1.4)
« Reply #14 on: September 30, 2019, 04:06:31 PM »
Interesting... my message disappeared...
I just said "thanks" and moved this thread to the kodi forum:
https://forum.kodi.tv/showthread.php?tid=347671
but looks like no expert there also.
« Last Edit: October 14, 2019, 02:32:37 PM by newsea »

 

DELIVERY ∙ PAYMENT ∙ WARRANTY+RETURNS ∙ INTERNATIONAL TAX ∙ ABOUT ∙ PRIVACY ∙ NEWS ∙ CONTACT
© SDHDIGITAL LTD 2026
SITEMAP