Kodi Community Forum
[WINDOWS] External Player Support Thread - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
---- Thread: [WINDOWS] External Player Support Thread (/showthread.php?tid=43511)



- stbi00 - 2009-10-27

Hi!

Sorry for the noob question. I have an asrock ION 330 system and i dont want Ubuntu on it. Is there any way to force it to run an external player on just the MKV files inside XBMC? Does any one has an guide to make this work in an easy way?

//Stefan


- >>X<< - 2009-10-27

stbi00 Wrote:Hi!

Sorry for the noob question. I have an asrock ION 330 system and i dont want Ubuntu on it. Is there any way to force it to run an external player on just the MKV files inside XBMC? Does any one has an guide to make this work in an easy way?

//Stefan

Yes you can with the builds after 20983 using the playercorefactory.xml method, there's already a guide in the wiki

http://wiki.xbmc.org/?title=HOW-TO_use_an_External_Player_for_media_playback


- stbi00 - 2009-10-28

Ok, Thanks for the link. I will look into that. where do i find the latest builds?

//Stefan


- patkhoo - 2009-10-28

stbi00 Wrote:Ok, Thanks for the link. I will look into that. where do i find the latest builds?

//Stefan

Try here.


Read only ISO with internal player - picarddontoro - 2009-10-28

How can I play all video files with external player except ISO file to read with XBMC internal player ?

TIA


- >>X<< - 2009-10-28

picarddontoro Wrote:How can I play all video files with external player except ISO file to read with XBMC internal player ?

TIA

Just add the extentions you want played buy external player under rules

For example

Code:
<playercorefactory>
  <players>
    <player name="ZoomPlayer" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Program Files\Zoom Player\zplayer.exe</filename>
      <hidexbmc>false</hidexbmc>
      <hideconsole>false</hideconsole>
      <warpcursor>none</warpcursor>
    </player>
  </players>
  <rules action="prepend">
    <rule filetypes="[b]mkv|avi|wmv[/b]" player="ZoomPlayer"/>
  </rules>
</playercorefactory>

Where its bold just add them there with a |-separator, there might be another way but this seems the most reliable for me

This is all in the wiki Rolleyes


- Cammer - 2009-11-05

I have been reading all day, posts and wiki, for some help on playercorefactory.xml For a noob, it was hard finding the right posts.

I want to use my external player, MPC-HC, for HD content, including mkv files.

I have tried to piece together information, and i am still having problems.

For one, in Wiki, it says - filetypes, and the example above the syntax in Wiki has no "s" ie - filetype="mkv"...

First, my build is 22516

Here is my playercorefactory content:

<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC HomeCinema\mpc-hc.exe</filename>
<args>/fullscreen /close</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>topright</warpcursor>
</player>
</players>
<rules>
<rule video="true" filetype="mkv" player="MPC-HC" />
</rules>
</playercorefactory>

The problem is that ALL videos play with MPC-HC, regardless of type.:confused2:

Can anyone give me some help on the correct sysntax?

I actually have "720" and "1080" in all hi def content. It was quite time consuming typing it in, and really wanted to use this for the rule.

I tried this too, and it did not work either
<rules>
<rule video="true" filename="*720*|*1080*" player="MPC-HC" />
</rules>

Thank You


- Cammer - 2009-11-06

I did not post a log file, as i think it is only a syntax issue.

If you want a log file, let me know and i will post one.

Thanks,

Cam


- moby-uk - 2009-11-06

Cammer Wrote:I have been reading all day, posts and wiki, for some help on playercorefactory.xml For a noob, it was hard finding the right posts.

I want to use my external player, MPC-HC, for HD content, including mkv files.

I have tried to piece together information, and i am still having problems.

For one, in Wiki, it says - filetypes, and the example above the syntax in Wiki has no "s" ie - filetype="mkv"...

it's filetypes, with the "s". Since the wiki says it's filetypes and then had one example with the "s" and one without (i've fixed that now), surely you must have tried both so there must be some other problem, which I can't immediately see, and a log would be useful.

Quote:I actually have "720" and "1080" in all hi def content. It was quite time consuming typing it in, and really wanted to use this for the rule.

I tried this too, and it did not work either
<rules>
<rule video="true" filename="*720*|*1080*" player="MPC-HC" />
</rules>

That would need to be ".*720.*|.*1080.*", you've missed the dots (this is a regular expression, not globbing) which definitely are in the example in the wiki Wink


- ashlar - 2009-11-06

Try this:
Code:
<playercorefactory>
  <players>
    <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Program Files\MPC HomeCinema\mpc-hc.exe</filename>
      <args>/fullscreen /close</args>
      <hidexbmc>true</hidexbmc>
      <hideconsole>false</hideconsole>
      <warpcursor>topright</warpcursor>
      </player>
  </players>
<rules>
<rule video="true" player="dvdplayer">
   <rule filetypes="mkv" player="MPC-HC">
</rule>
</rules>
</playercorefactory>
Edit: whatever Moby says it's "righter" than what I can say. Smile


- Scott R - 2009-11-06

Has anyone had any success mounting a Blu-ray .iso and playing it via MPC-HC? I'm fairly certain that there's a bug with MPC-HC which causes a "DVD not found" error when you attempt to do this via the command line (it works fine for playing DVD .iso files and it works fine if select "Play DVD..." through the MPC-HC menu to play the now-mounted Blu-ray .iso file). So what I'm asking here isn't for anyone to troubleshoot my .bat script logic or anything, but rather to indicate if there's another branch of MPC-HC or some "experimental" updates to MPC-HC where this issue might have been fixed.

Or, alternatively, what other players are out there that are optimized for the NVIDIA ION GPU which might work well as an external player for XBMC?


- Scott R - 2009-11-06

Is external player support not working in the Camelot build (linked to on the xbmc.org download page)?

It seems like no matter what I do, it ignores my playercorefactory.xml settings and uses the internal player instead. I know that I can "break" it by renaming playercorefactory.xml so that it won't play anything, but if I have it configured correctly (AFAIK), it seems to use the internal player. I had it working with a prior SVN build, but since trying the Camelot build, I can't seem to restore back to the SVN build I was using with xbmcupdate because xbmcupdate tells me that I've got the latest version (even if I downgrade all the way back to the official Babylon release).


- Scott R - 2009-11-06

Sorry, I got it working again by tracking down a backup of my old playercorefactory.xml file. Not sure what I had configured wrong, though.

Only remaining problem is that when I stop the movie, it doesn't return control to XBMC properly. I'm thinking that this is perhaps a bug with the Camelot build, as I think that was working fine under the SVN build I was previously using.


- patkhoo - 2009-11-07

Scott R Wrote:Only remaining problem is that when I stop the movie, it doesn't return control to XBMC properly. I'm thinking that this is perhaps a bug with the Camelot build, as I think that was working fine under the SVN build I was previously using.

Scott, is this the problem you are referring to?


- Scott R - 2009-11-07

patkhoo Wrote:Scott, is this the problem you are referring to?
Yes, I believe so.


This forum uses Lukasz Tkacz MyBB addons.