futeko.com FORUM

Product Support => HiMedia Q5/Q10 4K3D => Topic started by: skank on November 29, 2015, 05:23:01 PM

Title: Not use wrapper for streams
Post by: skank on November 29, 2015, 05:23:01 PM
Is there a way to not use the wrapper for internet streams but kodi?
For all other uses, i need the weapper.. But when using kodi addon ** i wouldnt use it.
Is this possible?
Title: Re: Not use wrapper for streams
Post by: hdmkv on November 29, 2015, 06:17:03 PM
Yes, by customizing HiMedia's playercorefactory.xml. Google "playercorefactory.xml himedia" and you'll find some examples. It's a trial-and-error thing to get what you want.
Title: Re: Not use wrapper for streams
Post by: skank on November 30, 2015, 08:53:12 AM
MM tried it yesterday and it seems it already uses kodi player lol
Title: Re: Not use wrapper for streams
Post by: lukappaseidue on December 06, 2015, 09:26:52 PM
HI, I have installed IPTV Simple Client on Q10 4k3D, but TV treaming crash everytime, with wrapper installed: I need to unistall the wrapper and IPTV is ok, but I want to use wrapper for all purpose, and internal player for IPTV.
Please, could someone help me?
Here my playercorefactory.xml
<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>

       
      
      <!-- 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>


I attached my file


[attachment deleted by admin]
Title: Re: Not use wrapper for streams
Post by: lukappaseidue on December 14, 2015, 08:56:28 PM
:( no help
Title: Re: Not use wrapper for streams
Post by: lukappaseidue on December 20, 2015, 10:37:46 AM
thank to sprengbox, here the playercorefactory.xml that allow to use wrapper for video, and internal player for IPTV.
So no more crashing.
This file replace the one of the player.

[attachment deleted by admin]
Title: Re: Not use wrapper for streams
Post by: futeko.com on December 22, 2015, 10:03:21 AM
thank to sprengbox, here the playercorefactory.xml that allow to use wrapper for video, and internal player for IPTV.
So no more crashing.
This file replace the one of the player.

Good work. Thanks.
Title: Re: Not use wrapper for streams
Post by: tia1974 on May 20, 2016, 08:47:52 AM
How is the correct way to use the new .XML file with the wrapper?

Thanks
Title: Re: Not use wrapper for streams
Post by: tia1974 on May 20, 2016, 04:47:02 PM
I used "file manager (explorer)" to copy and past the .xml file suggested by springbok in the folder android/data/org.xbmc.kodi/files/kodi/userdata
but when I use kodi, the wrapper functions only for my film and crashed when I try the IPTV.
What is the correct way to set up the wrapper with this xml file?
Title: Re: Not use wrapper for streams
Post by: sofand on May 21, 2016, 12:15:00 PM
you can try install spmc from google play (a fork of kodi) and use it for iptv and misc addons
Title: Re: Not use wrapper for streams
Post by: tia1974 on May 27, 2016, 07:00:54 PM
Thanks but I prefer to use only one app, I set the hi media to start with kodi at launch and I want to use it for everything because it is possible to do, but I don't understand how to change the .xml file.
Someone could help me, please?
Title: Re: Not use wrapper for streams
Post by: tia1974 on May 28, 2016, 07:58:10 AM
thank to sprengbox, here the playercorefactory.xml that allow to use wrapper for video, and internal player for IPTV.
So no more crashing.
This file replace the one of the player.

Please would you like to explain step by step how do you change the .xml file? I did several attemps but all without success
Thanks
Title: Re: Not use wrapper for streams
Post by: tia1974 on June 04, 2016, 06:53:58 PM
Ok, finally I did it by myself.
Now everything is perfect: Kodi starts up automatically soon after Himedia booting, from Kodi when I choose one of my videos or Tv series they are played directly by the Himedia player, instead when I choose a stream or IPTV they are displayed automatically by the Kodi player.
Here are the steps I followed:
- normal installation of the wrapper and activation of the playercorefactory.xml that is with it
- launch file manager (explorer), shows hidden folder, copy the new playercorefactory.xml, go in the right folder android/data/org.xbmc.kodi/files/kodi/userdata   and press copy file, here pops up a windows that ask if you would like to overwrite the existing .xml file, press YES and now you can enjoy this wonderful HiMedia Player