Tagline in Movie Title
#1
Anyone who is like me wanting a Tagliene under movie title you can use the following file.

http://pastebin.com/j49hSD2e

Place into "addons\skin.Aeon65-MQ\720p\DialogVideoInfo.xml"

Screen here

Image
Reply
#2
Commited in Aeon65, Thanks.
Reply
#3
Great idea, thanks! Cool

I've added it to my own homebrew Aeon but with one small adjustment I thought I'd share (to lines 438 - 456 in the pastebin code). Some of my movies don't have a tagline, so this prevents the movie title from having an extra gap where the tagline should go (see lines in red below). OK, call me picky, but there you go... Laugh

Also, if you intended the tagline to scroll, I think the <autoscroll> tag you use only works for textboxes and not labels. I've changed this to a simple <scroll> tag (see line in blue below).

Hope that helps. Cheers!

Code:
<control type="label">
    <description>Movie title no tagline</description>
    <posx>0</posx>
    <posy>0</posy>
    <width>700</width>
    <font>Font_FSInfoTitle</font>
    <label>$INFO[ListItem.Title]</label>
    <include>Colour_OffWhite</include>
    [color=red]<visible>IsEmpty(ListItem.Tagline)</visible>[/color]
</control>

<control type="label">
    <description>Movie title with tagline</description>
    <posx>0</posx>
    <posy>-10</posy>
    <width>700</width>
    <font>Font_FSInfoTitle</font>
    <label>$INFO[ListItem.Title]</label>
    <include>Colour_OffWhite</include>
    [color=red]<visible>!IsEmpty(ListItem.Tagline)</visible>[/color]
</control>

<control type="label">
        <description>Tagline</description>
        <posx>0</posx>
        <posy>40</posy>
        <width>700</width>
        [color=blue]<scroll>true</scroll>[/color]
        <font>11</font>
        <label>$INFO[ListItem.Tagline]</label>
        <include>Colour_OffWhite</include>
</control>
Reply
#4
snowdrift Wrote:Great idea, thanks! Cool

I've added it to my own homebrew Aeon but with one small adjustment I thought I'd share (to lines 438 - 456 in the pastebin code). Some of my movies don't have a tagline, so this prevents the movie title from having an extra gap where the tagline should go (see lines in red below). OK, call me picky, but there you go... Laugh

Also, if you intended the tagline to scroll, I think the <autoscroll> tag you use only works for textboxes and not labels. I've changed this to a simple <scroll> tag (see line in blue below).

Hope that helps. Cheers!

Code:
<control type="label">
    <description>Movie title no tagline</description>
    <posx>0</posx>
    <posy>0</posy>
    <width>700</width>
    <font>Font_FSInfoTitle</font>
    <label>$INFO[ListItem.Title]</label>
    <include>Colour_OffWhite</include>
    [color=red]<visible>IsEmpty(ListItem.Tagline)</visible>[/color]
</control>

<control type="label">
    <description>Movie title with tagline</description>
    <posx>0</posx>
    <posy>-10</posy>
    <width>700</width>
    <font>Font_FSInfoTitle</font>
    <label>$INFO[ListItem.Title]</label>
    <include>Colour_OffWhite</include>
    [color=red]<visible>!IsEmpty(ListItem.Tagline)</visible>[/color]
</control>

<control type="label">
        <description>Tagline</description>
        <posx>0</posx>
        <posy>40</posy>
        <width>700</width>
        [color=blue]<scroll>true</scroll>[/color]
        <font>11</font>
        <label>$INFO[ListItem.Tagline]</label>
        <include>Colour_OffWhite</include>
</control>

I was messing with the scroll must have misted that to take it out I kepts getting for example

"Man With no Mission | Man With no Mission | Man With no Mission"
Reply
#5
Don't duplicate the movie title block, use a conditional animation (see how it has been done in Aeon65)

I must admit though, I should have added a comment next to the animation. Keeping the XML files clean is hard. :-)
Reply
#6
pixdamix Wrote:Don't duplicate the movie title block, use a conditional animation (see how it has been done in Aeon65)

Thats what I like about these forums, you're always learning! Thanks for the tip! I've now changed my code to a conditional animation Nod Much cleaner.

But, looking at your code, the scroll is still wrong, <autoscroll> needs to be a <scroll> for it to work Wink

BinaryMonkey Wrote:I was messing with the scroll must have misted that to take it out I kepts getting for example

"Man With no Mission | Man With no Mission | Man With no Mission"

I'm not sure what your trying to say here. But short taglines like that should fit within the label no problem. Longer taglines will look like this with <scroll>true</scroll>. As you can see, you get the "|" character to separate the start and end of the line as it scrolls (in the middle of the tagline below - but you can change that with the <scrollsuffix> tag for labels).

Image

Or, if you don't like that. You can set <scroll>false</scroll> (or remove it entirely as it defaults to false) to get ellipsis on the end and the line does not scroll. See the "..." at the end of the tagline below.

Image

Cheers!
Reply
#7
Nice work guys
Reply

Logout Mark Read Team Forum Stats Members Help
Tagline in Movie Title0