Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

String compare issue with special character

$
0
0
I had to compare an output from a Player.Process(eoft_gamut) info label and using

Code:
<variable name="VideoresolutionFullScreenVar">
    <value condition="String.StartsWith(Player.Process(amlogic.eoft_gamut),HDR10+)">flags/fullscreen/hdrplus_fs.png</value>
    <value condition="String.StartsWith(Player.Process(amlogic.eoft_gamut),HDR10)">flags/fullscreen/hdr_fs.png</value>
    <value condition="String.StartsWith(Player.Process(amlogic.eoft_gamut),HLG)">flags/fullscreen/hlg_fs.png</value>
    <value condition="String.StartsWith(Player.Process(amlogic.eoft_gamut),DV)">flags/fullscreen/dv_fs.png</value>
</variable>

HDR10+ is not detected (always using condition of HDR10), even the info label is showing HDR10+ in Player Process info. Maybe "+" needs a special handling or is this a bug?

Viewing all articles
Browse latest Browse all 1803

Trending Articles