Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put IMDB Top250 flag into MediaFlags #160

Closed
jingai opened this issue Sep 4, 2012 · 4 comments
Closed

Put IMDB Top250 flag into MediaFlags #160

jingai opened this issue Sep 4, 2012 · 4 comments
Milestone

Comments

@jingai
Copy link
Collaborator

jingai commented Sep 4, 2012

As opposed to MediaFlags2.

See thread discussing this issue here (post 7 onward): http://forum.xbmc.org/showthread.php?tid=139626

@tuckbodi
Copy link

tuckbodi commented Sep 5, 2012

Leaving this in here, to unclutter PM's back & forth.

IMDb image (size 45x24): http://i.imgur.com/2v0rW.png

Sample code for the button:

        <control type="group">
            <posx>154</posx>
            <posy>560</posy>
            <control type="image">
                <posx>1</posx>
                <posy>2</posy>
                <width>45</width>
                <height>24</height>
                <texture>special://skin/extras/flags/IMDB45.png</texture>
                <colordiffuse>IMDbDiffuse</colordiffuse>
                <visible>!substring(listitem.top250,0,Left) + !IsEmpty(listitem.top250)</visible>
            </control>
            <control type="label">
                <posx>-1</posx>
                <posy>9</posy>
                <width>50</width>
                <height>50</height>
                <align>center</align>
                <aligny>center</aligny>
                <font>METF_MediaDetailsSmall</font>
                <textcolor>MediaFlagDiffuse</textcolor>
                <label>$INFO[ListItem.top250]</label>
                <visible>!substring(listitem.top250,0,Left) + !IsEmpty(listitem.top250)</visible>
            </control>
                <control type="image">
                    <posx>-10</posx>
                    <posy>-4</posy>
                    <width>66</width>
                    <height>58</height>
                    <texture>flags/flag_framesquare.png</texture>
                    <colordiffuse>MediaFlagBoxDiffuse</colordiffuse>
                <visible>!substring(listitem.top250,0,Left) + !IsEmpty(listitem.top250)</visible>
            </control>
        </control>

@jingai
Copy link
Collaborator Author

jingai commented Sep 5, 2012

Thanks. Getting to this tonight. Wanted to refactor some things in MediaFlags first.

@jingai
Copy link
Collaborator Author

jingai commented Sep 6, 2012

Going to do this tomorrow night.. too many things got in the way of it tonight!

jingai added a commit that referenced this issue Sep 7, 2012
@jingai
Copy link
Collaborator Author

jingai commented Sep 7, 2012

Done :)

@jingai jingai closed this as completed Sep 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants