This weekend our forum will be unavailable for a few hours due to maintenance.

[RELEASE] Add-on Metadata Actors - Skin support
#70
I'm currently skinning this for Breeze but have run into a problem...

If there is no icon for a film in the actors filmography it is automatically filled with DefaultMovies.png, meaning my fallback image doesn't work (as Container(150).Listitem.Icon is never returned as empty). This is what my code looks like...

PHP Code:
                <control type="image"> <!--film cover-->
                    <
description>Actor image</description>
                    <
posx>32.5</posx>
                    <
posy>32.5</posy>
                    <
width>372</width>
                    <
height>556</height>
                    <
aspectratio scalediffuse="false">stretch</aspectratio>
                    <
texture fallback="DefaultVideoBigPoster.png" diffuse="breeze/home/folder tile dif.png">$INFO[Container(150).Listitem.Icon]</texture>
                    <
visible>Control.IsVisible(150)</visible>
                </
control>
      
                <
control type="image"> <!--film cover-->
                    <
description>Actor image</description>
                    <
posx>32.5</posx>
                    <
posy>32.5</posy>
                    <
width>372</width>
                    <
height>556</height>
                    <
texture diffuse="breeze/home/folder tile dif.png">DefaultVideoBigPoster.png</texture>
                    <
visible>Control.IsVisible(150) + IsEmpty(Container(150).Listitem.Icon)</visible>
                </
control

And if there is no icon it looks like...

Image

The only way to make it use the fallback image is if I rename DefaultMovies.png, but then i use that in other part of my skin. Is there a reason why it seems to automatically fall back on that image?
 
Reply


Messages In This Thread
[No subject] - by FrostBox - 2012-02-21, 21:37
[No subject] - by mad-max - 2012-02-21, 23:05
[No subject] - by fmronan - 2012-02-21, 23:30
[No subject] - by ZombieRobot - 2012-02-22, 06:04
[No subject] - by Eisi2005 - 2012-02-22, 08:01
[No subject] - by mikebzh44 - 2012-02-22, 09:42
[No subject] - by fmronan - 2012-02-22, 09:48
[No subject] - by Eisi2005 - 2012-02-22, 10:14
[No subject] - by french_chris - 2012-02-22, 15:24
[No subject] - by FrostBox - 2012-02-22, 17:08
[No subject] - by FrostBox - 2012-02-22, 17:17
[No subject] - by ezechiel1917 - 2012-02-22, 17:55
[No subject] - by krish_2k4 - 2012-02-22, 18:29
[No subject] - by FrostBox - 2012-02-22, 19:40
[No subject] - by Jeroen - 2012-02-22, 19:58
[No subject] - by FrostBox - 2012-02-22, 20:02
[No subject] - by Eisi2005 - 2012-02-22, 21:09
[No subject] - by Eisi2005 - 2012-02-22, 22:19
[No subject] - by fmronan - 2012-02-22, 22:56
[No subject] - by Eisi2005 - 2012-02-22, 23:21
[No subject] - by fmronan - 2012-02-23, 11:38
[No subject] - by Eisi2005 - 2012-02-23, 13:43
[No subject] - by Eisi2005 - 2012-02-23, 13:58
[No subject] - by fmronan - 2012-02-23, 14:18
[No subject] - by Eisi2005 - 2012-02-23, 15:04
[No subject] - by fmronan - 2012-02-23, 15:56
[No subject] - by Eisi2005 - 2012-02-23, 16:58
[No subject] - by fmronan - 2012-02-23, 17:39
[No subject] - by FrostBox - 2012-02-23, 19:17
[No subject] - by Wanilton - 2012-02-23, 19:31
[No subject] - by FrostBox - 2012-02-23, 19:41
[No subject] - by Eisi2005 - 2012-02-23, 20:54
[No subject] - by Wanilton - 2012-02-23, 21:17
[No subject] - by FrostBox - 2012-02-23, 21:31
[No subject] - by Eisi2005 - 2012-02-24, 10:22
[No subject] - by FrostBox - 2012-02-24, 18:40
[No subject] - by Eisi2005 - 2012-02-24, 19:39
[No subject] - by donabi - 2012-02-24, 20:04
[No subject] - by FrostBox - 2012-02-25, 20:01
[No subject] - by Jeroen - 2012-02-26, 10:04
[No subject] - by donabi - 2012-02-26, 17:59
[No subject] - by Wanilton - 2012-02-26, 18:47
[No subject] - by Eisi2005 - 2012-02-26, 22:40
[No subject] - by coolio99 - 2012-02-28, 17:36
[No subject] - by Mudislander - 2012-02-29, 14:56
[No subject] - by Eisi2005 - 2012-02-29, 22:08
[No subject] - by BigNoid - 2012-02-29, 22:20
[No subject] - by Eisi2005 - 2012-02-29, 23:03
[No subject] - by fmronan - 2012-02-29, 23:54
[No subject] - by Eisi2005 - 2012-03-01, 18:45
[No subject] - by Tight_wad - 2012-03-01, 21:16
[No subject] - by CutSickAss - 2012-03-01, 22:30
[No subject] - by CutSickAss - 2012-03-02, 13:43
[No subject] - by Eisi2005 - 2012-03-03, 17:36
[No subject] - by Eisi2005 - 2012-03-03, 22:12
[No subject] - by fmronan - 2012-03-03, 23:34
[No subject] - by Eisi2005 - 2012-03-04, 00:40
[No subject] - by fmronan - 2012-03-04, 00:43
[No subject] - by Eisi2005 - 2012-03-04, 14:01
[No subject] - by fmronan - 2012-03-04, 14:12
[No subject] - by Martijn - 2012-03-04, 14:20
[No subject] - by Eisi2005 - 2012-03-04, 14:27
[No subject] - by CutSickAss - 2012-03-04, 16:42
[No subject] - by fmronan - 2012-03-04, 16:46
[No subject] - by ezechiel1917 - 2012-03-10, 03:10
[No subject] - by Eisi2005 - 2012-03-10, 21:52
[No subject] - by Eisi2005 - 2012-03-11, 11:48
Metadata: Greek Translation - by CutSickAss - 2012-03-17, 20:07
RE: [RELEASE] Add-on Metadata Actors - Skin support - by Eddage - 2012-03-23, 13:34


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Add-on Metadata Actors - Skin support3
This forum uses Lukasz Tkacz MyBB addons.