Flag Position
#1
Hi All

Ive added a 3D flag based on the folder/file having 3D in the path however it seems that sometimes the flag gets overwritten by other flags:

Image

Image

Ive added the code directly in front the the subtitle control group:

Code:
        <align>center</align>
        <aligny>center</aligny>
        <colordiffuse>StudioDiffuse</colordiffuse>
    </include>
    <include name="PosterMediaFlags">
        <control type="group">
            <include>Animation_SlideUpFadeOut</include>
            <include>Animation_HiddenByInfo</include>
            <posx>494</posx>
            <posy>632</posy>
            <width>418</width>
            <animation effect="slide" start="0,0" end="0,30" time="200" condition="!system.getbool(lookandfeel.enablerssfeeds) | Skin.HasSetting(RSS_only_on_home) + !Window.IsActive(home) + !Window.IsVisible(2006)">Conditional</animation>
            <visible>![Skin.HasSetting(nolanguagepanel) + Skin.HasSetting(noyearpanel) + Skin.HasSetting(nostudiopanel) + Skin.HasSetting(noratingpanel) + Skin.HasSetting(novideopanel) + Skin.HasSetting(noaudiopanel) + Skin.HasSetting(nosubtitlepanel)] + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(episodes)]</visible>
[b]    <control type="image">
            <include>PosterMediaFlagsVarsCodec</include>
            <texture>flags/Source/3D.png</texture>
            <visible>substring(listitem.FileNameAndPath,3D) </visible>
    </control>[/b]
            <!-- Subtitle Panel -->
            <control type="group">
                <posx>-8</posx>
                <visible>!Skin.HasSetting(nosubtitlepanel)</visible>
                <animation effect="slide" start="0,0" end="98,0" condition="Skin.HasSetting(nolanguagepanel) | IsEmpty(ListItem.AudioLanguage)">Conditional</animation>
                <animation effect="slide" start="0,0" end="84,0" condition="Skin.HasSetting(noyearpanel) | IsEmpty(ListItem.Year)">Conditional</animation>
                <animation effect="s
Reply
#2
most likely you need to add some conditional slide animations to your 3d flag,
but it's hard to tell from the code snipped you've posted.

what skin is this? alaska?
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Hi Ronie

Yes the skin is Alaska, i should have added that in the post Smile

Ive managed to move the 3D flag off to the left which i think will serve my purposes better when scanning through for 3D content.

My Includes_MediaFlags.xml is here:

http://pastebin.com/amZEN96e

Specifically i added:
Code:
<!-- 3D Panel -->
<control type="group">
    <posx>-400</posx>
    <posy>0</posy>
    <visible>substring(listitem.FileNameAndPath,3D) </visible>
    <control type="image">
            <posx>2</posx>
        <posy>2</posy>
            <include>PosterMediaFlagsVarsCodec</include>
            <texture>flags/Source/3D.png</texture>
            <visible>substring(listitem.FileNameAndPath,3D) </visible>
    </control>
</control>
Which has given me the following layout:
Image
Reply
#4
nino Wrote:Yes the skin is Alaska

i'll be moving this thread over there then
just in case you need any more help with it :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Flag Position0