Flag Position

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
nino Offline
Junior Member
Posts: 17
Joined: Oct 2009
Reputation: 0
Post: #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: screenshot20110805at074.png]

[Image: screenshot20110805at074.png]

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
find quote
ronie Online
Team-Kodi Member
Posts: 9,318
Joined: Jan 2009
Reputation: 161
Post: #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?

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
nino Offline
Junior Member
Posts: 17
Joined: Oct 2009
Reputation: 0
Post: #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: screenshot20110805at121.png]
(This post was last modified: 2011-08-05 13:14 by nino.)
find quote
ronie Online
Team-Kodi Member
Posts: 9,318
Joined: Jan 2009
Reputation: 161
Post: #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 :-)

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote