How To The Default External Player with Kodi, so All The Audio Codecs work

We asking all new users to read the articles below, before creating their first posting or thread.

  • 4. Instruction Articles

    • Please note, in this forum are only English threads and postings allowed, without any exception!

      Please follow the forum rules, thank you for your understanding.

  • 1) Install Kodi
    2)Run Kodi
    2) Now Open the Playstore and Purchase XBMC Wrapper.
    3) Install XBMC Wrapper.
    4) Run XBMC Wrapper once.
    5)Now install playercorefactory.xml (See Bellow)
    6)Run Kodi
    7)Test file,
    8)Now this bit is important :- Select Video Player run just the once.


    Method 1 (Using Z7+) - Install a file manager app like 'total commander' (my current favourite).- Navigate to root/sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/- Edit playercorefactory.xml (total commander has a built in file [lexicon]editor[/lexicon])
    Method 2 (using a PC)- Enable Samba sharing on Z7+ ([lexicon]Settings[/lexicon] - More - SAMBA Service - Enable)- Z7+ Navigate to on a PC and then to /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/- Edit playercorefactory.xml using PC file editorCode:


    <playercorefactory>

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

    <rules action="prepend">

    <!--network internet streams-->
    <rule protocols="pvr" player="VideoPlayer" /> <!--all pvr-->
    <rule protocols="http|rtmp|sop" player="VideoPlayer" /> <!--all web streams-->
    <rule internetstream="true" player="VideoPlayer" /> <!--all web streams-->
    <!--video audio channels rules-->
    <rule video="true" audiochannels="6" player="XBMCWrapper" /> <!--5.1 audio-->
    <rule video="true" audiochannels="8" player="XBMCWrapper" /> <!-- 7.1 audio-->
    <!--video resolution rules-->
    <rule video="true" videoresolution="720" player="XMBCWrapper" />
    <rule video="true" videoresolution="1080" player="XBMCWrapper" />
    <rule video="true" videoresolution="2160" player="XBMCWrapper" /> <!--4K-->
    <!--audio / music rules-->
    <rule audio="true" player="PAplayer"/> <!--all audio to kodi player-->
    <!--specific codecs rules-->
    <rule video="true" audiocodec="truehd|true-hd|dtshd|dts-hd|dts" player="XBMCWrapper"/>
    <rule filename=".*.3D.*|.*.3D.iso|3D.*" player="XBMCWrapper"/>
    <rule filetypes="bdmv|mpls|m2ts" player="XBMCWrapper"/>
    <rule video="true" player="XBMCWrapper"/>

    </rules>

    </playercorefactory>

    Edited once, last by ians325 (January 10, 2018 at 2:00 PM).