Release fTV Fred Edition - with full working and integrated LiveTV part
It's already there. The reoslution is displayed next to "HD".

Code:
                <!--  HD label -->
                <control type="label">
                    <left>24</left>
                    <top>-2</top>
                    <width>auto</width>
                    <height>34</height>
                    <font>Bold28</font>
                    <textcolor>ffebebeb</textcolor>
                    <label>[B]HD[/B]</label>
                    <visible>Integer.IsGreater(VideoPlayer.VideoResolution,710)</visible>
                </control>
                <!--  Resolution label -->
                <control type="label">
                    <left>2</left>
                    <top>-2</top>
                    <width>auto</width>
                    <height>34</height>
                    <font>Bold29</font>
                    <textcolor>ffebebeb</textcolor>
                    <label>$VAR[PlayerResolution]</label>
                </control>

$VAR[PlayerResolution]
Code:
    <variable name="PlayerResolution">
        <value condition="[Integer.IsGreater(VideoPlayer.VideoResolution,710) + !Integer.IsGreater(VideoPlayer.VideoResolution,730)]">720p</value>
        <value condition="String.IsEqual(VideoPlayer.VideoResolution,1080)">1080p</value>
        <value condition="String.IsEqual(VideoPlayer.VideoResolution,4K)">4K</value>
    </variable>

Quote:ListItem.VideoResolution(or Player.VideoResolution): Shows the resolution of the currently selected video (possible values: 480, 576, 540, 720, 1080, 4K). Note that 540 usually means a widescreen format (around 960x540) while 576 means PAL resolutions (normally 720x576), therefore 540 is actually better resolution than 576.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply


Messages In This Thread
Studio Artwork - by Grandhuggy - 2016-01-27, 02:27
RE: fTV Fred Edition - with full working and integrated LiveTV part - by sualfred - 2017-01-22, 12:02
Banners "None" not recognized? - by mozomo - 2017-01-28, 18:58
Logout Mark Read Team Forum Stats Members Help
fTV Fred Edition - with full working and integrated LiveTV part4