Solved Image control texture formatting - will this work?
#1
Hi guys,

I'm trying to format an image control's texture value and was wondering whether this will work, specifically the <texture> tag:


PHP Code:
        <control type="image" id="9340">
            <
posx>1659</posx>
            <
posy>200</posy>
            <
width>161</width>
            <
aspectratio align="right" aligny="center">center</aspectratio>
            <
height>120</height>
            <
texture background="true" fallback=".">$INFO[ListItem.Studio,http://website.netne.net/resources/images/,.png]</texture>
             
<visible>!IsEmpty(ListItem.Studio)</visible>
        </
control

I need the url to be formatted according to the value of ListItem.Studio. So far it's not worked but I'd like to know for sure that this can't work and whether there are alternative ways of achieving the same result.

Thank you Wink
Reply
#2
Won't work without writing an addon to scrap them.
You have to place them locally somewhere in the %SKIN%/media/ folder or use the special protocol to place them in %SKIN%/extras/ and use special://skin/extras/

Special protocol:
http://kodi.wiki/view/Special_protocol
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
#3
(2016-01-05, 13:03)sualfred Wrote: Won't work without writing an addon to scrap them.
You have to place them locally somewhere in the %SKIN%/media/ folder or use the special protocol to place them in %SKIN%/extras/ and use special://skin/extras/

Special protocol:
http://kodi.wiki/view/Special_protocol

Ah damn, the whole reason for uploading the studio images to the web was to save space on my local devices. I guess I'll have to store them locally until Jarvis comes out.

Thanks for your help sualfred Wink
Reply

Logout Mark Read Team Forum Stats Members Help
Image control texture formatting - will this work?0