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

Generating a Footer image for every movie with Video/Audio/Studio/Subtitles logos. #1188

Closed
Omertron opened this issue Mar 15, 2015 · 8 comments

Comments

@Omertron
Copy link
Member

Original issue 1189 created by Omertron on 2010-01-10T13:11:00.000Z:

Ive got an idea that i think will enhance the user experience.

Could Yamj generate a footer image lets say 480x70px, this could be a
transparent png image for every movie.

Yamj would then look in the movie xml file and find the <container> and
then look in a image template associated to the <container> and overlay
that image or logo on the footer.png image with the image size and co-
ordiates.

Example below.

Lets take my cloverfield.xml file.

<company>Bad Robot</company>

In the templete:
<xsl:choose>
<xsl:when test="contains(company,'Bad Robot')"><img src="Studio-
logos/badrobot_logo.png" height="48"/></xsl:when>
<xsl:otherwise>

Overlay that logo with the footer.png

NEXT

<container>BDAV</container>

&lt;xsl:choose&gt;
            &lt;xsl:when test=&quot;contains(container,'BDAV') and contains

(videoOutput,'1080p')"><img src="Video-logos/bluray.png"
height="41" /></xsl:when>
<xsl:otherwise>

Again overlay that with the footer.png

Then the same with the following <containers>

<resolution>1920x1080</resolution>
<audioCodec>TrueHD</audioCodec>
<certification>PG-13</certification>
<subtitles>YES</subtitles>

When all six logos have been overlayed with the footer.png image you would
end up with a image like the one i have attached, but a different image
would be made for every individual moviee.

So the footer image would be generated with the filename and the footer
appended after like below.

Cloverfield_footer.png

This footer image could then be placed anywhere on the index/details page
or resized to fit in with a skin.

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2011-11-22T15:30:04.000Z:

Issue 2197 has been merged into this issue.

@Omertron
Copy link
Member Author

Comment #2 originally posted by Omertron on 2011-11-22T15:30:52.000Z:

AS per issue 2197, I think this would be an overlay.xml enhancement that would be able to create the image

@Omertron
Copy link
Member Author

Comment #3 originally posted by Omertron on 2011-11-23T00:39:03.000Z:

Since xmlOverlay can be used on all 'imageTypes' (despite fanart) I thought it might be the easiest way to indroduce a new imageType "mediainfo" (or similar) which is just an empty png.

@Omertron
Copy link
Member Author

Comment #4 originally posted by Omertron on 2011-11-23T05:48:46.000Z:

<empty>

@Omertron
Copy link
Member Author

Comment #5 originally posted by Omertron on 2011-11-23T09:42:44.000Z:

This issue was closed by revision r2803.

@Omertron
Copy link
Member Author

Comment #6 originally posted by Omertron on 2011-11-23T16:19:57.000Z:

Wow, that was really fast! Many thanks for that and it's working well so far.

But one thing I noticed is that there are no footers created for Sets (Set_moviename_1.footer.png).
Do I have to consider a special setting for that or isn't it built in yet?

@Omertron
Copy link
Member Author

Comment #7 originally posted by Omertron on 2011-11-24T04:06:53.000Z:

This issue was closed by revision r2806.

@Omertron
Copy link
Member Author

Comment #8 originally posted by Omertron on 2011-11-24T17:44:22.000Z:

Thank you, this is perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant