Posts: 148
Joined: Dec 2014
Reputation:
7
Shomei
Senior Member
Posts: 148
2024-03-13, 23:33
(This post was last modified: 2024-03-14, 01:22 by Shomei. Edited 1 time in total.)
When playing bluray movie folder Kodi player is trying to play index.bdmv file (in Play main movie mode). But mpv external player can't play it. Is there a way to tell mpv play the root bluray folder or maybe MovieObject.bdmv file instead?
Or maybe there is a way to automatically Play main title without bringing up the Simplified menu?
Posts: 37
Joined: Sep 2017
Reputation:
0
2024-03-23, 04:36
(This post was last modified: 2024-03-23, 04:37 by Kristijan1001. Edited 1 time in total.)
Can someone help me get this working. I want to use MPV for everything and i want to use the internal player for every video that contains [A] in their name. So when i play any other video uses MPV if it has [A] uses Kodi player. Also how do i make it so MPV always opens on the Second Monitor. I currently have this setup.
<playercorefactory>
<players>
<player name="MPV" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Media Player Video\mpv.exe</filename>
<args>--fs=yes "{1}"</args>
<hidexbmc>true</hidexbmc>
</player>
</players>
<rules action="prepend">
<rule video="true" player="MPV"/>
</rules>
</playercorefactory>
Posts: 3
Joined: Aug 2021
(2023-06-02, 02:57)PatK Wrote: @Jwc84 give the following a shot after you change the paths to reflect your set-up and eliminate the players you don't have.
Code:
<playercorefactory>
<players>
<player name="MPC-BE" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-BE x64\mpc-be64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
<player name="mpc-hc64" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\MPC-HC\mpc-hc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\VideoLAN\VLC\vlc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule video="true" player="paplayer">
</rule>
</rules>
</playercorefactory>
I am using Windows 10 and
kodi-21.0-Omega-x64 2024-06-04 03:06
I created the playercorefactory.xml file with your code, corrected the file path and copied it according to the path
C:\Users\datntien\AppData\Roaming\Kodi\userdata
But still can't call the external player
Thanks for your help please!
Here is the code after I fixed it
Code:
<playercorefactory>
<players>
<player name="MPC-BE" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-BE\mpc-be64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
<player name="POT Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\datntien\Downloads\Daum PotPlayer 1.7.22076 x32x64 Portable by 7997\PotPlayer\PotPlayerPortable.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\VideoLAN\VLC\vlc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule video="true" player="paplayer">
</rule>
</rules>
</playercorefactory>
Posts: 16
Joined: May 2023
Reputation:
0
Would someone be able to post an XML file To set up VLC As an external player But not the default player Please? Can’t get it to work.
Posts: 16
Joined: May 2023
Reputation:
0
Thanks hopefully The bug will be fixed soon.
Posts: 21
Joined: Jan 2011
Reputation:
0
Okay, solved my case. But probably not yours, as I did this in Linux. Maybe there is a similar way you can do it in Windows.
There is a command called dirname in Linux terminal. Calling that will remove the filename in the path.
My playercorefactory.xml file looks like this now:
<playercorefactory>
<players>
<player name="MPV" type="ExternalPlayer" audio="false" video="true">
<filename>/usr/bin/mpv</filename>
<args>--fs=yes "$(dirname "{1}")"</args>
<hidexbmc>false</hidexbmc>
</player>
</players>
<rules action="prepend">
<rule name="bdmv" filetypes="bdmv" player="MPV"/>
</rules>
</playercorefactory>