futeko.com FORUM

Product Support => HiMedia Q10 Pro, Q5 Pro => Topic started by: icerno78 on October 25, 2019, 08:13:08 PM

Title: Kodi and HiMedia-Player
Post by: icerno78 on October 25, 2019, 08:13:08 PM
Since a few days ago i used Kodi 18.,4 with Himedia-Player on my Q5 with Android 7 and HMD 2.0.1.
Due to a Problem with my google Account i had to do a factory reset and i'm running now on the latest HMD 2.1.4.
I used my backup from Kodi and everything is running fine. Even the google Account problem is solved. But strangely i cant get the HiMedia-Player to work inside Kodi.
I double checked the settings in the Wrapper, but Kodi always uses its own player.

Did i forget somewhere a switch to set?
Title: Re: Kodi and HiMedia-Player
Post by: stl on October 27, 2019, 07:59:56 AM
Restoring the older backup from kodi might be the culprit. Try to disable the wrapper, start kodi, exit and re-enable the wrapper.
Title: Re: Kodi and HiMedia-Player
Post by: icerno78 on October 28, 2019, 03:34:05 PM
Tried your advice, but sadly its not working.

Any other idea?
Is there a xml file to look or edit?
Title: Re: Kodi and HiMedia-Player
Post by: icerno78 on October 29, 2019, 06:24:33 AM
I have read the FAQ again and there is the file "playercorefactory.xml" mentioned.

This is the one which is generated with actual HMD 2.1.4:

<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|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="8" player="Wrapper" /> <!-- 7.1 audio-->

<!--video resolution rules-->

<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.*" player="Wrapper"/>
<rule filetypes="iso|bdmv|mpls|m2ts" player="Wrapper"/>
<rule video="true"  player="Wrapper"/>   
</rules>
</playercorefactory>



Before the update i used HMD 2.0.1 and that was the generated file:



<playercorefactory>
   <players>
      <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">
      <rule protocols="smb" name="XBMCWrapper" >
   <rule video="true" videoresolution="540" player="XBMCWrapper"/>
   <rule filename=".*540.*" player="XBMCWrapper"/>
   <rule video="true" videoresolution="720" player="XBMCWrapper"/>
   <rule filename=".*720.*" player="XBMCWrapper"/>
   <rule video="true" videoresolution="1080" player="XBMCWrapper"/>
   <rule filename=".*1080.*" player="XBMCWrapper"/>
</rule>

       
        <rule protocols="pvr" player="XBMCWrapper" >
   <rule video="true" videoresolution="540" player="XBMCWrapper"/>
   <rule filename=".*540.*" player="XBMCWrapper"/>
   <rule video="true" videoresolution="720" player="XBMCWrapper"/>
   <rule filename=".*720.*" player="XBMCWrapper"/>
   <rule video="true" videoresolution="1080" player="XBMCWrapper"/>
   <rule filename=".*1080.*" player="XBMCWrapper"/>
   <rule filename=".*0.pvr" player="dvdplayer"/>
   <rule filename=".*1.pvr" player="dvdplayer"/>
</rule>

       
      
      <!-- Internet streams -- Disabled for now -->
      <!--<rule internetstream="true" player="MXPlayerFree" />-->

         <rule video="true" videoresolution="540" player="XBMCWrapper">
   <rule filename=".*540.*" player="XBMCWrapper"/>
   </rule>   <rule video="true" videoresolution="720" player="XBMCWrapper">
   <rule filename=".*720.*" player="XBMCWrapper"/>
   </rule>   <rule video="true" videoresolution="1080" player="XBMCWrapper">
   <rule filename=".*1080.*" player="XBMCWrapper"/>
   </rule>
<rule dvdimage="true" player="XBMCWrapper" >
   <rule video="true" videoresolution="540" player="XBMCWrapper"/>
   <rule filename=".*540.*" player="XBMCWrapper"/>
   <rule video="true" videoresolution="720" player="XBMCWrapper"/>
   <rule filename=".*540.*" player="XBMCWrapper"/>
   <rule video="true" videoresolution="1080" player="XBMCWrapper"/>
   <rule filename=".*540.*" player="XBMCWrapper"/>
</rule>
<rule protocols="rtmp" player="XBMCWrapper"/>
<rule protocols="rtsp" player="XBMCWrapper" />
<rule protocols="sop" player="XBMCWrapper" />
      
      
      
      <rule video="true"  player="Wrapper">
         <rule  protocols="hdhomerun|myth|cmyth|mms|mmsh|udp" player="DVDPlayer" />         
          <rule name="rtmp" protocols="rtmp" player="DVDPlayer" />
          <rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)"  player="PAPlayer" />
         
          <rule name="streams" internetstream="true" player="DVDPlayer">
            <rule name="aacp/sdp" mimetypes="audio/aacp|application/sdp"  player="DVDPlayer"/>
            <rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
          </rule>      
      </rule>      
   </rules>
</playercorefactory>


Can anyone help with this further information?
Title: Re: Kodi and HiMedia-Player
Post by: Mount81 on October 29, 2019, 07:00:42 AM
If you're trying to play from SMB or NFS shares try to modify the network section in the first one you pasted like this:

Quote
<!--network protocol rules-->

<rule protocols="http|https|rtmp|sop" player="VideoPlayer" /> <!--all http-->
<rule protocols="nfs|smb" player="Wrapper" /> <!--all nfs|smb-->
Title: Re: Kodi and HiMedia-Player
Post by: icerno78 on October 30, 2019, 05:02:14 PM
Not working
And yes, I want to access a Nas via smb.

But even with mediacenter and a local file on a USB stick the wrapper is not working.

So any further Tips, how to get it working?
Title: Re: Kodi and HiMedia-Player
Post by: Mount81 on November 02, 2019, 07:49:38 AM
Try to re-activate the Wrapper. See the FAQ how.
Title: Re: Kodi and HiMedia-Player
Post by: icerno78 on November 19, 2019, 11:55:47 AM
An update for my "Problem".
As often the Problem is infront of the System.
I didnt realized that the User-Interface from the Wrapper-Player changed. And therefore ir thought i was running the Kodi-Player.
So that is sorted out.

But here another question. Is there an Option to never start a Video with activated Subs?
Title: Re: Kodi and HiMedia-Player
Post by: pcristi on November 20, 2019, 05:00:06 PM
Default subtitle ON/OFF option are not visible with OFW when HiMediaVideoPlayer is display on English.

A.Set language to CN/DE/FR/RO/RU/VN then will appear.
For example FR(France), after set it OFF can switch back to English.
(https://www.mediafire.com/convkey/49ae/1cltoapu7tpaj5lzg.jpg?size_id=3)

B. Try to use CFW, then will have it in English too
(https://www.mediafire.com/convkey/e307/c776ti4djpadajdzg.jpg?size_id=4)
Option are not apply for previous bookmark(resume) point save it before to set OFF.