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)



- seaweed - 2010-04-05

abba77: Any luck getting bsplayer to work?


- kiboy6 - 2010-04-06

nokmond Wrote:My only tiny moan is when I click on a mkv in XBMC my XP desktop flashes up for a second before MPC-HC starts and then when I close MPC-HC the XP desktop comes on for 2/3 seconds before XBMC comes back on fullscreen.

Here is my playercorefactory.xml -

<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 "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv" player="MPC-HC"/>
</rules>
</playercorefactory>

Is there anything I can change to stop my Xp desktop ever appearing?

I have an identical playercorefactory.xml, except using Zoomplayer instead of MPC. I too experience the brief view of my desktop on Win 7 before Zoomplayer opens. Anybody know a workaround for this ?

Thanks!


- Gordonx42 - 2010-04-20

If the external player is enabled, XBMC crashes on exit. Here is the debug log after the shutdown is initiated:

Quote:18:32:41 T:3072 M:1476272128 DEBUG: Thread 3072 terminating (autodelete)
18:32:41 T:2548 M:1476272128 DEBUG: Thread 2548 terminating (autodelete)
18:32:41 T:1664 M:1476255744 DEBUG: Thread 1664 terminating (autodelete)
18:32:41 T:2376 M:1476509696 DEBUG: Thread 2376 terminating (autodelete)
18:32:41 T:2748 M:1476624384 NOTICE: Storing total System Uptime
18:32:41 T:2748 M:1476763648 NOTICE: Saving settings
18:32:41 T:2748 M:1476608000 NOTICE: stop all
18:32:41 T:2748 M:1476603904 DEBUG: CNetwork::NetworkMessage - Signaling network services to stop
18:32:41 T:2748 M:1476603904 NOTICE: Webserver: Stopping...
18:32:41 T:2748 M:1476599808 NOTICE: ES: Stopping event server
18:32:41 T:2748 M:1476599808 DEBUG: CNetwork::NetworkMessage - Waiting for network services to stop
18:32:41 T:2748 M:1476591616 DEBUG: CLastfmScrobbler: Journal with 0 entries saved to special://masterprofile/LastfmScrobbler.xml
18:32:41 T:2748 M:1476452352 DEBUG: CLibrefmScrobbler: Journal with 0 entries saved to special://masterprofile/LibrefmScrobbler.xml
18:32:42 T:3532 M:1477001216 NOTICE: ES: UDP Event server stopped
18:32:42 T:3532 M:1477001216 DEBUG: Thread 3532 terminating
18:32:42 T:2604 M:1477021696 DEBUG: WebServer:Exiting thread sockReady=0, sockSelect=0.
18:32:42 T:2604 M:1477021696 DEBUG: WebServer:OnExit - Exit web server.
18:32:42 T:2604 M:1476993024 DEBUG: Thread 2604 terminating
18:32:42 T:2748 M:1477009408 DEBUG: xbmcHttpShim ends
18:32:42 T:2748 M:1477009408 DEBUG: xbmcHttp ends
18:32:42 T:2748 M:1477005312 NOTICE: Webserver: Stopped...
18:32:42 T:2748 M:1477005312 NOTICE: stop sap announcement listener
18:32:42 T:2748 M:1477001216 NOTICE: clean cached files!
18:32:42 T:2748 M:1476993024 NOTICE: unload skin
18:32:42 T:2748 M:1476993024 DEBUG: CGUIAudioManager:Big GrineInitialize
18:32:42 T:2748 M:1476993024 DEBUG: ------ Window Deinit (Home.xml) ------
18:32:42 T:2748 M:1478062080 DEBUG: ------ Window Deinit (Pointer.xml) ------
18:32:42 T:2748 M:1478062080 DEBUG: ------ Window Deinit (DialogMuteBug.xml) ------
18:32:42 T:2748 M:1496748032 NOTICE: stop python

If I disable the external player, no problems.

EDIT: Oh, and I'm running Camelot and Aeon Hitcher.


- abba77 - 2010-04-20

seaweed Wrote:abba77: Any luck getting bsplayer to work?

hey, sorry wasnt around to see your post.

yes i got it to work. here is the settings i used for myself:

Code:
<playercorefactory>  

    <players>    
        <player name="BSP" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Program Files (x86)\Webteh\BSplayerPro\bsplayer.exe</filename>      
            <args>"{1}" -fs -eend</args>    
            <hidexbmc>true</hidexbmc>      
            <hideconsole>true</hideconsole>      
            <warpcursor>none</warpcursor>    
        </player>  
    </players>  
  
    <rules action="prepend">
        <rule filetypes="mkv|avi|wmv" player="BSP"/>
    </rules>

</playercorefactory>


the new option in the newer xbmc versions is "{1}". This controls of the args come after or before the filename. With the "{1}", it puts the remaining args or -fs and -eend after the filename like bsplayer likes. add other file extensions as you see fit in the filetypes rule.


- retr - 2010-04-22

After a couple of hours of trying I still can't get MPC-HC to display my mkv files properly.

I am using the following code:

Code:
<playercorefactory>
  <players>
    <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Program Files\MPC HomeCinema\mpc-hc.exe</filename>
      <args>"{1}" /fullscreen</args>
      <hidexbmc>true</hidexbmc>
      <hideconsole>true</hideconsole>
      <warpcursor>none</warpcursor>
    </player>
  </players>
  <rules action="prepend">
    <rule filetypes="mkv" player="MPC-HC"/>
  </rules>
</playercorefactory>

When I open a file, both on a SMB share or local disk, rars or .mkv MPC-HC will display "Failed to render the file".

Files that I playback with MPC-HC launched from the desktop will however playback just fine, so I don't get why this isn't working...

OS: Win7 Ultimate
XBMC version: Rev29334-dx
MPC-HC version: 1.3.1782.0

Help would be really appreciated!


- steelman1991 - 2010-04-24

retr Wrote:After a couple of hours of trying I still can't get MPC-HC to display my mkv files properly.

I am using the following code:

Code:
<playercorefactory>
  <players>
    <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Program Files\MPC HomeCinema\mpc-hc.exe</filename>
      <args>"{1}" /fullscreen</args>
      <hidexbmc>true</hidexbmc>
      <hideconsole>true</hideconsole>
      <warpcursor>none</warpcursor>
    </player>
  </players>
  <rules action="prepend">
    <rule filetypes="mkv" player="MPC-HC"/>
  </rules>
</playercorefactory>

When I open a file, both on a SMB share or local disk, rars or .mkv MPC-HC will display "Failed to render the file".

Files that I playback with MPC-HC launched from the desktop will however playback just fine, so I don't get why this isn't working...

OS: Win7 Ultimate
XBMC version: Rev29334-dx
MPC-HC version: 1.3.1782.0

Help would be really appreciated!

Don't know whether your still struggling with mpc-hc playback, but if you are have a look t this thread http://forum.xbmc.org/showthread.php?tid=70727. I am successfully running mpc-hc as an external player. I don't know a great deal about the specifics, just that it works.


- Quasit - 2010-05-28

When I've played a 720p/1080p h264 MKV with MPCHC as external player the GPU usage will be very high (at least low FPS, ~1-5 FPS) forcing me to quit XBMC. Just playing a MKV for a couple minutes won't cause this problem.

debug log (exiting MPCHC at ~13:15): http://pastebin.com/wNbeiJJ4

edit:
It seems to be fixed in the later builds. I'm running XBMCSetup-Rev30385-dx.exe (DSplayer) and there's no problem when quitting MPCHC, even after an hour or so.


- AntonVS - 2010-06-03

Help with this problem:
After editing the file playercorefactory, where the prescribed settings for using an external player for video, as needed, and whether to add support for an external player for music? For example foobar.

My version playercorefactory:

<playercorefactory>
<players>
<player name="MPC-HC" type="externalplayer" audio="false" video="true">
<filename>c:\Program Files\K-Lite Codec Pack\Media Player Classic\mpc-hc.exe</filename>
<args>/fullscreen /close "{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv|avi|wmv|m2ts|ts|flv|swf|m4v|mp4|ifo|vob" player="MPC-HC"/>
</rules>
</playercorefactory>


- steshell - 2010-06-16

Can anyone helpmeout with this?

I want to use MPC just to play mkv files but when I use the playercorefactory.xml below all videos use MPC and my problem with this is that they seem to take ages to start playing (they are stored on a NAS).

Any helpwould be appreciated.

<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC HomeCinema (x64)\mpc-hc64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule video="true" player="wmplayer">
<rule dvd="true" player="dvdplayer"/>
<rule filetypes="mkv" player="MPC-HC/">
</rule>
</rule>
</rules>
</playercorefactory>



Steve


- B-Fir3 - 2010-07-10

EDIT: Nevermind. It's not specific to external player. The issue is prevalent even when I alt+tab away and back to XBMC. Will try other nightly builds.


- Lima - 2010-08-15

First of all hi to everyone and many thanks to the XBMC crew for such a nice piece of programming.

Now straight to the problem.Since the de-interlacing options XBMC offers don't quite cut it for me I have used Total Media Theatre 3 for 1080i content.

It plays OK but I thought not having to exit XBMC and start up TMT3 manually would be a cool thing.

So I started to read the wiki and stuff to get TMT3 to launch as an external player whenever I try to play a 1080i file.

Without success so far...

My System

AMD Athlon™ II X2 250 Processor
NVIDIA Geforce GT220
Windows 7 64-bit build 7600
xbmc-r32748-Dharma.exe installed

I have created a playcorefactory.xml in User/AppData/Roaming/XBMC/userdata

This is what it looks like
Quote:<playercorefactory>
<players>
<player name="TMT3" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Programme (x86)\ArcSoft\TotalMedia Theatre 3\uDigital Theatre.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="ts" filename=".*1080i.*" player="TMT3"/>
</rules>
</playercorefactory>

Now when I click on a 1080i.ts file it definitely tries to start it with TMT3 but does not succeed.

And here is my debug log.

http://pastebin.com/5M58JwFR

I'm not an expert but I think that this ExecuteAppW32 - Failure: 3 might has something to do with this.

Thanks for all the help in advance.


- steelman1991 - 2010-08-15

Think you might need to search for the correct command parameters (<args>) which correspond to TMT3, the ones quoted on the wiki and in your example refer to MPC-HC. From what I remember each player has there own unique set of commands and these need to be set in the playercorefactory file to properly execut the start up behaviour of the chosen player.


- Lima - 2010-08-17

Do you know them by chance?

I have used the search but came up with nothing.Google does not seem to help either.


Simply defining Totalmedia Theatre as external default dvd player - vilrockerdefer - 2010-08-20

Hello all,

I hope this is not a problem if I posted already in a dedicated thread but given the lack of response I take my chance here :

I try to obtain the result described in the title, no more, no less, I wrote two different playercorefactory.xml.

First one is :

Code:
<playercorefactory>
<players>
   <player name="Totalmedia Theatre" type="ExternalPlayer" audio="false" video="true">
     <filename>C:\Program Files\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe</filename>
   </player>
</players>    
<rules action="prepend">
  <rule dvd="true" player="Totalmedia Theatre"/>
  <rule dvdimage="true" player="Totalmedia Theatre"/>
  <rule dvdfile="true" player="Totalmedia Theatre"/>
</rules>
</playercorefactory>
Second one is :

Code:
<playercorefactory>
<players>
   <player name="Totalmedia Theatre" type="videodefaultdvdplayer" audio="false" video="true">
     <filename>C:\Program Files\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe</filename>
   </player>
</players>    
</playercorefactory>
But both do absolutely nothing. (Fact is also that I can't find any "play with..." in contexts menus).

I get this with both .xml's in xbmc.log :

Quote:20:39:21 T:1724 M:890740736 NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
20:39:21 T:1724 M:890707968 NOTICE: Loaded playercorefactory configuration
20:39:21 T:1724 M:890703872 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
20:39:21 T:1724 M:890703872 NOTICE: Default DVD Player: dvdplayer
I'm using Dharma r32894 from August 18th.

Help and thanks.


- hiyo3 - 2010-08-25

Lima Wrote:Do you know them by chance?

I have used the search but came up with nothing.Google does not seem to help either.

In my.xml "{0}" /fullscreen /play /close is what i use. It works for TMT3 and MPC HC.


edit: OOOPS.... I take that back, tmt3 opens but now constantly gives me unsupported file format while trying to open bd folders.


This forum uses Lukasz Tkacz MyBB addons.