2024-03-23, 19:19
(2024-03-23, 04:36)Kristijan1001 Wrote: 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>
Give this a try.
Code:
<playercorefactory>
<players>
<player name="MPV" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Media Player Video\mpv.exe</filename>
<playcountminimumtime>30</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule filename=".*[A]*." player="VideoPlayer"/>
<rule filetypes="iso|bdmv|mpls|m2ts|mkv|avi|mp4|mov|ts|flv|wmv" player="MPV"/>
</rules>
</playercorefactory>