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 - willburstyle06 - 2021-01-05

(2020-12-21, 16:17)willburstyle06 Wrote:
(2020-12-20, 20:14)PatK Wrote:
(2020-12-20, 07:43)willburstyle06 Wrote: VLC doesn't automatically exit back to Kodi like it was before. I'm not sure what changed
If I use MPC-HC (or BE) as an external player, it works perfectly as expected with both Matrix and Leia.

Running VLC brings, it used to work fine, I have updated VLC and looking at the error below, file:/// pathing might be at issue with the VLC directive.

Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Kodi-Leia/Kodi/%2Ffullscreen'. Check the log for details.
Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Kodi-Leia/Kodi/%2Fclose'. Check the log for details.

I'll have to go check if my log shows the same thing

I was able to solve the issue with VLC not automatically returning to Kodi by just turning on the setting to "close VLC after playlist ends"

It's more of a minor inconvenience then an actual problem but is there a way to set the playercorefactory.xml rules so that it automatically plays a file with VLC based on the files resolution it detects, in this case any 4k file? Right now I have it set so it sees 2160p in the file name to use VLC but sometimes I forget to add that in lol

Once again here is my current playercorefactory.xml

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


    </player>
  </players>
  <rules action="prepend">
    <rule filename=".*2160p.*" player="VLC Player"/>
  </rules>
 </playercorefactory>


RE: [WINDOWS] External Player Support Thread - CerviInVi - 2021-01-10

I've set up kodi to play videos with an external player (potplayer) when i play them that way my gpu usage is high and task manager shows that kodi is using even more gpu than potplayer playing the video itself. While playing the video and going to kodi the resume button in the upper right corner is there and when i click it it actually resumes the video in kodi too. i believe that when using external players kodi plays the video on its internal player too or sth cause my laptop fans are loud when playing it that way and normal when playing the video outside of kodi. Is there any way around this?. Maybe have kodi actually close and then reopen when exiting - finishing potplayer playback?


RE: [WINDOWS] External Player Support Thread - PatK - 2021-01-10

(2021-01-10, 01:46)CerviInVi Wrote: kodi actually close and then reopen when exiting - finishing potplayer playback?
That's how it works for me using MPC-HC, MPC-BE, and VLC. Perhaps it's a setting inside potplayer or some playercorefactory script problem. External players (wiki)


RE: [WINDOWS] External Player Support Thread - azumukupoe - 2021-01-16

LAV Splitter on MPC-BE picks low quality stream whilst working on MPC-HC without a problem
MPC-BE has v 074.1 and MPC-HC has v 0.74.1.75
Do I need to update it?


RE: [WINDOWS] External Player Support Thread - captainfearless - 2021-02-10

I am trying to set up both VLC and PowerDVD as external players, VLC as the Kodi default, and PDVD for all videos requiring menu navigation. This is what i have, and it results in no context menu options.

<playercorefactory>
<players>
<player name="VLC" type="ExternalPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\VideoLAN\VLC\VLC.exe</filename>
<args>"{1}"</args>
<hidekodi>true</hidekodi>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
<player name="PowerDVD" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\CyberLink\PowerDVD20\PowerDVD.exe</filename>
<args>"{1}"</args>
<hidekodi>true</hidekodi>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv|ts|avi|divx|mp4|flv|m2v|mpeg|mpg|mts|vob|mov|m4v" player="VLC"/>
<rule filename=".*.3D.*|.*.3D.iso|3D.*" player="PowerDVD"/>
<rule filetypes="iso|bdmv|mpls|m2ts" player="PowerDVD"/>
</rules>
</playercorefactory>

This is what i have been using which provides default VLC playback, and Kodi player via context.

<playercorefactory>
  <players>
     <player name="VLC" type="ExternalPlayer" audio="false" video="true">
       <filename>C:\Program Files\VideoLAN\VLC\VLC.exe</filename>
       <playcountminimumtime>30</playcountminimumtime>
     </player>
  </players>
  <rules action="prepend">
     <rule filename=".*HDR10.*|.*HDR.*|.*hdr.*|.*2160p.*" player="VLC"/>
     <rule filetypes="iso|bdmv|mpls|m2ts|mkv|mp4|ts|vob|avi|mov|ifo" player="VLC"/>
  </rules>
 </playercorefactory>


What have i got wrong here ?


RE: [WINDOWS] External Player Support Thread - G12345567 - 2021-06-07

I have the latest Kodi 19.1 installed on a windows 10 computer and it was complaining about not being able to play a blu-ray with AACS protection when I selected the show blu-ray menus to play the movie.

I have just installed Cyberlink PowerDVD 21. When I play the same blu-ray in Kodi it plays fine with menus and no complaints about copy protection.

I was just wondering. Is PowerDVD or libraries now integrated into kodi and being use to allow Kodi to decode the copy protection? As the blu-ray plays fine through PowerDVD.


RE: [WINDOWS] External Player Support Thread - PatK - 2021-06-07

(2021-06-07, 09:14)G12345567 Wrote: PowerDVD now integrated into kodi and being use to allow Kodi to decode the copy protection?
Kodi does not decode copy protection, and Power DVD is not integrated into Kodi. Using external players has always been an option or feature of Kodi and the 3rd party program should function as its features allow while Koid only passes on the path/target file in focus before minimizing. I suspect somewhere along the line, some lib or routine was added by the user,3rd party script, or installation of some foreign batch file if Kodi now appreciates any decoding of cp.


RE: [WINDOWS] External Player Support Thread - p060477 - 2022-01-30

a silly question, apologize my level..,
why in the kodi log i see:
ExternalPlayer: invalid value for warpcursor: none
if in the wiki .
https://kodi.wiki/view/External_players
is the default value for it..?
and could you pls , talking as you were explain to a little child, explain this parameter
in a more easy or more easy to understand way that it is in that wiki page:
"whether and where to move the cursor to before the external player is launched"..
apologize me but if this  is -before- launching the player where the cursor and what cursor we see at video..?
and also is specified - for win32 only-
so if i run kodi.exe in 64 bit, i see it on my task manager, all of this is not true..?
to sum up all of my question is round that:
"ExternalPlayer: invalid value for warpcursor: none"...
thxs again so much for yr attn and patience
cheers!


RE: [WINDOWS] External Player Support Thread - PatK - 2022-01-30

(2022-01-30, 00:13)p060477 Wrote: explain to a little child, explain this parameter
Stems from a time that some set-ups left the cursor/pointer open in the middle of the screen and didn't blank, the options allow for placement. (default is none) Most modern set-ups do not need this instruction. Either eliminate this instruction or ignore the error.


RE: [WINDOWS] External Player Support Thread - p060477 - 2022-01-30

thanks so much indeed,
so deleting it and having this:

<?xml version="1.0" encoding="UTF-8"?>
<playercorefactory>
</player>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\VideoLAN\VLC\vlc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule video="true" player="paplayer">
</rule>
</rules>
</playercorefactory>


is correct and works fine?
thxs for yr helping
cheers


RE: [WINDOWS] External Player Support Thread - PatK - 2022-01-30

(2022-01-30, 22:06)p060477 Wrote: is correct and works fine?
You tell me? Looks like a few errors in the script (starting off with </player> doesn't seem right) might want to check out this thread. or check out the External players (wiki) section 2.2.1 VLC for examples. This file must be located the Userdata (wiki) folder.


RE: [WINDOWS] External Player Support Thread - p060477 - 2022-01-30

maybe i was not clear, apologize my very few skills..i try to be more clear and i pray you to have patience also with no skilled as me..:
 in my latest post i wrote:

"ExternalPlayer: invalid value for warpcursor: none
if in the wiki :
https://kodi.wiki/view/External_players"
so i thought it was clear that i was talking about the:
playercorefactory.xml located in the userdata folder

so i re- ask again if you consider correct this type :

<?xml version="1.0" encoding="UTF-8"?>
<playercorefactory>
</player>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\VideoLAN\VLC\vlc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule video="true" player="paplayer">
</rule>
</rules>
</playercorefactory>


and if not could you pls underline and clearify which parts are wrong..
much more better could you pls re-write it in the correct way
if , i re underline- you consider it is wrong and wont be able to work fine

i re-thank you again
and i re-ask you to be patience also with no skilled on e as me...
thxs so much again
cheers


RE: [WINDOWS] External Player Support Thread - PatK - 2022-01-30

Thought I was pretty clear regarding </player> is the exit of the bracket not the start....  <player> couched material </player>

Section 2.2.1 VLC

Code:
<playercorefactory>
<players>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>/usr/bin/vlc</filename>
<args>--fullscreen "{1}"</args>
<hidexbmc>false</hidexbmc>
</player>
</players> <rules action="prepend">
<rule video="true" player="VLC"/>
</rules>
</playercorefactory>



RE: [WINDOWS] External Player Support Thread - p060477 - 2022-01-30

first thxs, second apologize
so this should be correct?

<?xml version="1.0" encoding="UTF-8"?>
<playercorefactory>
<players>
<player name="QMPlay2" type="ExternalPlayer" audio="false" video="true">
<filename>N:\DESKTOP\VIDEO\PLAYERS\QMPlay2\QMPlay2.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<playcountminimumtime>1140</playcountminimumtime>
</player>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\VideoLAN\VLC\vlc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule video="true" player="paplayer">
</rule>
</rules>
</playercorefactory>


if not i pray to specify where is not
i re-thank you again so much indeed
and i re-ask you to be patience also with no skilled on e as me...
thxs so much again
cheers


RE: [WINDOWS] External Player Support Thread - PatK - 2022-01-31

The best way to check a script is to put it into your Userdata (wiki) folder and try it out. Failure can be back checked in your debug log to see if it's in play and functioning. I included a script from the wiki that is known to work, try that.