Win HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus
Sorry, I didn't notice your HEVC files are all 1080p and assumed they were all 2160p.

1) You have this rule:  <rule videoresolution="1080" player="MPC-BE"/>  (ALL 1080p RESOLUTION  titles are going to open with MPC-BE no matter what codec, file extension, file name, etc.)
and
2) You have this rule:  <rule filename=".*HEVC.*" player="PotPlayer"/>  (ALL titles with HEVC in the FILE NAME are going to open with PotPlayer no matter what codec, file extension, resolution, etc.) 

But there is a conflict.  All your HEVC (rule 2) files are ALSO 1080p (rule 1) files.  So, rule 1 wants to use MPC-BE and rule 2 wants to use PotPlayer.  That is a conflict.  You can't have it both ways.  We would want to 'nest' a further refinement to one of the two rules but afaik, you can only ADD to a nest and you need to EXCLUDE.  Something like:

<rule videoresolution="1080|[^…HEVC] player="MPC-BE"/>
or 
<rule videoresolution="1080" exclude videocodec="HEVC" player="MPC-BE"/>  but there is no meta-character KODI understands "[^…]" or an 'expression' "exclude" that would refine and eliminate afaik.  You can try playing with: <rule videoresolution="1080" videocodec="[^…HEVC]" player="MPC-BE"/>

Even if you replaced attribute rule filename with rule videocodec, there would still be a conflict between HEVC codec and 1080p resolution.

What happens if you use these rules:  (as I stated early on, two filename rules did not work for me long ago and not sure if that's changed but give it a try)

<rule filename=".*HDR10.*|.*HDR.*|.*hdr.*" player="KMPlayer"/>
<rule filename=".*1080.*" player="MPC-BE"/>
<rule videoresolution="480|576|720" player="MPC-HC"/>
<rule videocodec="HEVC" player="PotPlayer"/>

Make sure 1080 is in the file name for titles you want to open with MPC-BE.
Make sure 1080 is not in the file name for HEVC titles you want to open with PotPlayer.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply


Messages In This Thread
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:20
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:29
RE: Kodi 3D Guide - by michaelsammler - 2015-06-22, 00:38
RE: Kodi 3D Guide - by brazen1 - 2015-06-23, 17:15
RE: Kodi 3D Guide - by michaelsammler - 2015-06-24, 02:23
RE: Kodi 3D Guide - by brazen1 - 2015-06-24, 17:22
RE: Kodi 3D Guide - by michaelsammler - 2015-06-25, 09:26
HELP! - by brazen1 - 2018-08-22, 18:50
RE: HELP! - by zxaura1 - 2018-08-24, 09:32
Problem with DXVA scaling videos - by obstler - 2018-10-27, 10:13
RE: HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players - by brazen1 - 2019-01-29, 20:35
Logout Mark Read Team Forum Stats Members Help
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus39