2018-05-23, 12:13
In my private skin layout I wanted to use the control:
<control type="image">
<centertop>74</centertop>
<left>62</left>
<width>200</width>
<height>120</height>
<texture fallback="DefaultFolder.png">$INFO[Container(41050).CurrentItem,special://skin/extras/icons/widgets/stream-cinema/movies/menu/,.png]</texture>
<aspectratio>keep</aspectratio>
</control>
but when I browse the container I still see the contents of the file "DefaultFolder.png" only. I checked and tested everything a couple of times. In the referenced directory files 1.png, 2.png, ... exist and they are readable..
If I display the final file name with:
<control type="label">
...
<label>$INFO[Container(41050).CurrentItem,special://skin/extras/icons/widgets/stream-cinema/movies/menu/,.png]</label>
---
</control>
I get the expected and correct file name including the path: "special://skin/extras/icons/widgets/stream-cinema/movies/menu/1.png"
I also tried to modify the control and enter the full name and path directly:
<control type="image">
<centertop>74</centertop>
<left>62</left>
<width>200</width>
<height>120</height>
<texture fallback="DefaultFolder.png">special://skin/extras/icons/widgets/stream-cinema/movies/menu/1.png</texture>
<aspectratio>keep</aspectratio>
</control>
and in this case, the content of the file 1.png appeared correctly.
I do not think I'm making a mistake somewhere. Or yes? Could you give me an advice please.
JiRo
<control type="image">
<centertop>74</centertop>
<left>62</left>
<width>200</width>
<height>120</height>
<texture fallback="DefaultFolder.png">$INFO[Container(41050).CurrentItem,special://skin/extras/icons/widgets/stream-cinema/movies/menu/,.png]</texture>
<aspectratio>keep</aspectratio>
</control>
but when I browse the container I still see the contents of the file "DefaultFolder.png" only. I checked and tested everything a couple of times. In the referenced directory files 1.png, 2.png, ... exist and they are readable..
If I display the final file name with:
<control type="label">
...
<label>$INFO[Container(41050).CurrentItem,special://skin/extras/icons/widgets/stream-cinema/movies/menu/,.png]</label>
---
</control>
I get the expected and correct file name including the path: "special://skin/extras/icons/widgets/stream-cinema/movies/menu/1.png"
I also tried to modify the control and enter the full name and path directly:
<control type="image">
<centertop>74</centertop>
<left>62</left>
<width>200</width>
<height>120</height>
<texture fallback="DefaultFolder.png">special://skin/extras/icons/widgets/stream-cinema/movies/menu/1.png</texture>
<aspectratio>keep</aspectratio>
</control>
and in this case, the content of the file 1.png appeared correctly.
I do not think I'm making a mistake somewhere. Or yes? Could you give me an advice please.
JiRo