All my .mkv files now play fine through the HimediaVideoPlayer, but NONE of my .iso files (blu-ray .iso files, both 2D and 3D movies) are passed to the HimediaVideoPlayer (they play with the Kodi DVDplayer)! I tried to modify your "playercorefactory.xml" based on other playercorefactory.xml files without success. All those .iso files play fine using the Media Center (through the Video selection) or using the file manager (under Drive C). Is there something wrong with your "playercorefactory.xml" setup? Am I missing something else?
I have been playing around with different versions of
playercorefactory.xml and have modified the setup to work with most file types. My modified version of
playercorefactory.xml correctly passes on Blurray .iso files to the HimediaVideoPlayer providing the current version of Kodi recognizes that the Bluray .iso file as an HD file (1080p resolution). The current version also passes on DVD .iso files correctly to Kodi's DVDplayer. And this version passes all .mp4, .avi, .mkv, and presumably the contents of a BDMV folder (not tested) to the HimediaVideoPlayer also (my preference). I do not know why .iso files passed from the Kodi apps (v14.2 and v15.0) to the HimediaVideoPlayer do
NOT run properly, either at least starting to play for a few seconds or erring out completely after about 15 seconds. The same files play fine through the Media Center.
My
playercorefactory.xml revision is as follows:
<playercorefactory>
<players>
<player name="HimediaVideoPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.himedia.android.videoplayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
<player name="DVDPlayer" audio="true" video="true" ></player>
</players>
<rules action="prepend">
<rule name="bluray-iso" videoresolution="1080" filetypes="iso|ISO" player="HimediaVideoPlayer" ></rule>
<rule name="DVD-iso" dvdimage="true" player="DVDPlayer" ></rule>
<rule name="mkv" filetypes="mkv" player="HimediaVideoPlayer" ></rule>
<rule name="avi" filetypes="avi" player="DVDPlayer" ></rule>
<rule name="mp4" filetypes="mp4" player="DVDPlayer" ></rule>
<rule name="bluray folder" filetypes="m2ts|bdmv|mpls" player="HimediaVideoPlayer" ></rule>
<rule name="internetstream" internetstream="true" player="DVDPlayer" ></rule>
</rules>
</playercorefactory>
Does anybody know how to set a video's resolution (HD or SD, etc) in Kodi without having Kodi actually read the contents of the .iso file?