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)



RE: [WINDOWS] External Player Support Thread - Derek - 2016-03-06

I have it setup as an external player but I am capable of deciding which player i want by myself so its just a basic external player. [/code]

[code

<playercorefactory>

<players>

<player name="Cyberlink PowerDVD" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\CyberLink\PowerDVD15\PowerDVD.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</playercorefactory>


RE: [WINDOWS] External Player Support Thread - tstrul - 2016-05-03

Hi!
I am using MPC-HC as an external player for lectures (because of the ability to increase video speed)

I want to create a rule based on path ,for example:
all the videos under d:\lectures should be played with MPC-HC.

Is this possible?

Thanks in advance


RE: [WINDOWS] External Player Support Thread - thegreaterikku - 2016-08-04

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


Can someone help me out on this? I wanted to create a rule for my library which I am starting to convert to x265 and I wonder how to make it work.

This is my original rule I had which worked with .mkv
Quote:<rule videocodec="hevc" player="MPC-HC"/>
But the recent batch I made are .m4v (Never batch create when you are tired. I must have changed an option.) Nevertheless, it plays fine and quality wise I am not even sure there's a difference.

But I can't make those .m4v file play with MPC.

So I added
Quote:<rule filetypes="mkv|m4a" videocodec="hevc" player="MPC-HC"/>

Still, the MKV file are played with MPC but those M4V are native to Kodi. I'm at loss to where I am wrong.


RE: [WINDOWS] External Player Support Thread - mayao - 2016-10-12

I arranges to stream the Kodi contents via Chrome, in order to cast them to Chromecast in good quality. However, ever sense I can't see or get access to Subtitles.
How can I see the subtitles with the Chrome player?

Thanks


RE: [WINDOWS] External Player Support Thread - UncT - 2016-10-12

I am not sure if I missed it but none of this works with the new Krypton from the Windows Store. It seems our friends at MS have moved things around and it is next to impossible to find where to point the xml or bat file to. Any thoughts?


RE: [WINDOWS] External Player Support Thread - shinglebingle - 2016-10-28

Hi, I am not really techy (and quite old!) so please be gentle with and excuse my ignorance!

I have been experimenting with Kodi on my lap top. I am curious as to IPTV.
In theory it seems an amazing concept and I think it is the way forward for TV.

I found it very hard to get to work properly. I am wondering if this is due to incompatabolity with Windows? (Kodi is an android platform.....right?).
I tried downloading the Kodi program from this site but couldn't get it to open properly.
So I tried the Kodi app on windows ten.
This worked and I could use exodus etc.
but the IPTV mostly wouldn't load or work.

I am thinking of buying an android box. But if this is not due to the partnership between the computer, windows and android, and actually due to my poor skills there seems little point.

I would appreciate advice!

Shingle


RE: [WINDOWS] External Player Support Thread - AMediaConsumer - 2016-10-28

Could someone help me setup an external player in Kodi? I've read several guides and nothing seems to be working.
I am using Kodi version 15.2.

Here is what I have in my playercorefactory.xml, located in my Userdata folder inside %APPDATA% for Kodi.

Code:
<playercorefactory>
<players>
<player name="VLC" type="ExternalPlayer" audio="true" video="true">
<filename>C:\Program Files\VideoLan\VLC\vlc.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>

<rules action="prepend"
<rule name="Playtype" filetype="mkv|mp4|avi|flv|mpeg" player="VLC"/>
</rules>
</playercorefactory>

I tried also to use MPV to no avail.

Upon selecting video and pressing Y or C I am not shown an option to Play With. And when I press Y the only option is DVDplayer (default{

These parameters should be correct by all accounts. I am using Windows 7, if that matters.

Edit: I got it to work using

Code:
<playercorefactory>
<players>
<player name="MPV" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPV\mpv.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule name="Playtype" filetype="mkv|mp4|avi|flv|mpeg" player="VLC"/>
</rules>
</playercorefactory>

But there are some big errors. Once I exit a video, the next video in the list automatically plays. meaning I have to click exit hundreds of times before I can get back to Kodi.
MPV does not start when Kodi is in full screen mode, and when MPV does start it does not start full screen.


RE: [WINDOWS] External Player Support Thread - UncT - 2016-11-13

Has anyone found where to put the playercorefactory file if you are using the Microsoft Store version of Kodi?


RE: [WINDOWS] External Player Support Thread - oxynaz - 2016-12-14

filefactory rule to change screen resolution ??

hi,
i m with kodi dsplayer edition..

playing all with dsplayer except pvr streams...

for pvr streams I have a rule to play them with the integrated videoplayer

but i would like to make a rule that says:

if stream = pvr then
change screen resolution to 1920*1080
play pvr stream with default videoplayer
when pvr stream stop, change screen res back to 4096*xxxx (uhd)
end if

the problem is i m with uhd screen, kodi is set to 4096*xxxx because madvr upscale the content to uhd.. this works.
but tvheadend addon doesn t support external player, so I have the rule to play pvr content with the default videoplayer..
All channels are then played at 4096*xxxx, it s ok for 25fps channels but i have some in 50pfs, as my screen only does 23,24,25,29,30 fps in 4096*xxx these 50fps channels have big tearing..


possible Huh?


RE: [WINDOWS] External Player Support Thread - Cbomb101 - 2016-12-15

(2015-06-08, 01:30)kippax Wrote: I tried using MPC-HC as external player using Kodi 4.2 on Windows 8.1 Ent x64

my playercorefactory.xml

Code:
<playercorefactory>
<players>
   <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
     <filename>"C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe"</filename>
     <args>"{1}" /fullscreen /close</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
   </player>
</players>
<rules action="prepend">
    <rule filetypes="mkv|mp4|avi" filename=".*" player="MPC-HC"/>
</rules>
</playercorefactory>

Kodi log file shows

Code:
06:23:47 T:8204  NOTICE: CExternalPlayer::OpenFile: G:\601T\TV-Final\The Flash.2014.1080p\season01\The.Flash.2014.S01E01.Pilot.1080p.WEB-DL.DD5.1.AAC2.0.H.264-YFN.mkv
06:23:47 T:8464  NOTICE: Thread ExternalPlayer start, auto delete: false
06:23:48 T:8464  NOTICE: CExternalPlayer::Process: Player : "C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe"
06:23:48 T:8464  NOTICE: CExternalPlayer::Process: File   : G:\601T\TV-Final\The Flash.2014.1080p\season01\The.Flash.2014.S01E01.Pilot.1080p.WEB-DL.DD5.1.AAC2.0.H.264-YFN.mkv
06:23:48 T:8464  NOTICE: CExternalPlayer::Process: Content:
06:23:48 T:8464  NOTICE: CExternalPlayer::Process: Args   : "{1}" /fullscreen /close
06:23:48 T:8464  NOTICE: CExternalPlayer::Process: Start
06:23:48 T:8464  NOTICE: CExternalPlayer::ExecuteAppW32: "C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe" ""C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe"" "G:\601T\TV-Final\The Flash.2014.1080p\season01\The.Flash.2014.S01E01.Pilot.1080p.WEB-DL.DD5.1.AAC2.0.H.264-YFN.mkv" /fullscreen /close
06:23:48 T:8464  NOTICE: CExternalPlayer::ExecuteAppW32 - Failure: 123
06:23:48 T:8464  NOTICE: CExternalPlayer::Process: Stop
06:23:48 T:8464  NOTICE: CExternalPlayer::Process: Showing Kodi window

Looks like Kodi passes the player's EXE name twice. Is there a way to fix this? or Did I do something wrong? Appreciate any help. Thx


EDIT:

I solved my problem by

1. Modifying playercorefactory.xml

Code:
<playercorefactory>
<players>
   <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
     <filename>E:\WinData\App\XBMC\14.2\portable_data\userdata\PlayUsingMPCHC.bat</filename>
     <args>"{1}" /fullscreen /close</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
   </player>
</players>
<rules action="prepend">
    <rule filetypes="mkv|mp4|avi" filename=".*" player="MPC-HC"/>
</rules>
</playercorefactory>

2. Creating batch file: PlayUsingMPCHC.bat located on: E:\WinData\App\XBMC\14.2\portable_data\userdata

Code:
"C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe" %1 %2 %3


This temporary solution works for me, in case you guys having the same problem.

thanks man i copyed your solution at the bottom and changed all the info to potplayer and made the bat and it opens my video files now.


RE: [WINDOWS] External Player Support Thread - EODCrafter - 2017-01-10

This is the only thread I found when googling a solution for this for Linux, so I decided to add it in here. For some reason, some streams require the constant loop to be activated on the video player and the Kodi default player does not have this option. Here's how to set VLC as the default player for Kodi on a Linux system...
Code:
<playercorefactory>
  <players>
    <player name="VLC" type="ExternalPlayer">
     <filename>vlc</filename>
     <args>"{1}"</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
    </player>
  </players>

  <rules action="prepend">
    <rule name="Playtype" filetype="mkv|mp4|avi" player="VLC"/>
  </rules>
</playercorefactory>



RE: [WINDOWS] External Player Support Thread - koala784 - 2017-02-15

Hi,

On Jarvis, I was using this method to open pdf, epub and cbr/cbz :

Code:
<playercorefactory>
      <players>
         <player name="PDF" type="ExternalPlayer">
         <filename>C:\Program Files (x86)\Foxit Reader\FoxitReader.exe</filename>
         <args>"{1}"</args>
         <hidexbmc>false</hidexbmc>
         <hideconsole>false</hideconsole>
         <warpcursor>none</warpcursor>
        </player>
    <player name="Digital" type="ExternalPlayer">
         <filename>C:\Program Files (x86)\Adobe\Adobe Digital Editions 4.5\DigitalEditions.exe</filename>
         <args>"{1}"</args>
         <hidexbmc>false</hidexbmc>
         <hideconsole>false</hideconsole>
         <warpcursor>none</warpcursor>
        </player>
<player name="Guitar" type="ExternalPlayer">
         <filename>C:\Program Files (x86)\Guitar Pro\Guitar Pro 5\GP5.exe</filename>
         <args>"{1}"</args>
         <hidexbmc>false</hidexbmc>
         <hideconsole>false</hideconsole>
         <warpcursor>none</warpcursor>
        </player>
<player name="Firefox" type="ExternalPlayer">
         <filename>C:\Program Files (x86)\Mozilla Firefox\firefox.exe</filename>
         <args>"{1}"</args>
         <hidexbmc>false</hidexbmc>
         <hideconsole>false</hideconsole>
         <warpcursor>none</warpcursor>
        </player>
<player name="Comics" type="ExternalPlayer">
         <filename>C:\Program Files (x86)\ComicRack\ComicRack.exe</filename>
         <args>"{1}"</args>
         <hidexbmc>false</hidexbmc>
         <hideconsole>false</hideconsole>
         <warpcursor>none</warpcursor>
        </player>
    </players>    
<rules action="prepend">
                        <rule name="cbr" filetypes="cbr" player="Comics" />
                      <rule name="cbz" filetypes="cbz" player="Comics" />
                    <rule name="wma" filetypes="wma" player="audiodefaultplayer" />
                  <rule name="mp3" filetypes="mp3" player="audiodefaultplayer" />
                <rule name="url" filetypes="url" player="Firefox" />
              <rule name="pdf" filetypes="pdf" player="PDF" />
            <rule name="gp5" filetypes="gp5" player="Guitar" />
          <rule name="gp3" filetypes="gp3" player="Guitar" />
        <rule name="gp4" filetypes="gp4" player="Guitar" />
      <rule name="txt" filetypes="txt" player="wordpad" />
     <rule name="epub" filetypes="epub" player="Digital" />
    </rules>
    </playercorefactory>

The "ebooks" folders was added as "videos" like this in Advancedsettings.xml :

Code:
<advancedsettings>
     <splash>false</splash>
     <videoextensions>
    <add>.wma|.mp3|.pdf|.epub|.gp3|.gp4|.gp5|.url|.cbr|.cbz|.txt|.rtf|.lit</add>
    </videoextensions>
    </advancedsettings>

But since I 've updated Kodi to Krypton, this trick doesn't work anymore (I have installed Krypton on Jarvis to keep addons and settings).

Sorry for the english and if i'm on the wrong place !


RE: [WINDOWS] External Player Support Thread - EODCrafter - 2017-02-20

(2016-11-13, 01:31)UncT Wrote: Has anyone found where to put the playercorefactory file if you are using the Microsoft Store version of Kodi?

Sorry for the late reply but I was Googling on here and I will answer this....

C:\Users\Steve\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi


RE: [WINDOWS] External Player Support Thread - Txukie - 2017-03-29

I was wondering if it was possible to somehow combine the external players in playercorefactory.xml with InfoLabels as described here http://kodi.wiki/view/InfoLabels
I would like to pass some of those infolabels as arguments of my external player and I can't figure out how or if it's even possible


ZPlayer with with Kodi in Tray - RBraverman - 2017-04-05

My problem is that, while ZPlayer (Max 10) loads and plays, when I exit it, Kodi is minimized in the tray. I'm about a 1/3 of the way through this thread and can not find anything on this.

My playercorefactory.xml file:

<playercorefactory>
<players>
<player name="ZPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\Zoom Player\zplayer.exe</filename>
<args>"(1) /Play"</args>
<forceontop>true</forceontop>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="avi|mkv|mp4|flv|mpg" player="ZPlayer"/>
</rules>
</playercorefactory>

ANY help would be appreciated.