[MOD]Blu-ray and HDTV overlays

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
craigd Offline
Senior Member
Posts: 285
Joined: May 2007
Reputation: 0
Post: #1
Ok just a very basic quick draft of this mod as it makes viewing hd in library a bit easier.

just two files and a small xml change needed so bluray overlay goes on 1080 movies and hdtv overlay goes on 720 movies.

the overlay only shows when the movie is in focus at present thought I'd get it up as whilst I'll tinker with it more to get it how I want there's far more skilled guys on here who could probably think it out and implement it better.


to add simply save these two images to your "skin\media\poster\" folder

[Image: posterframeBLU.png]

[Image: posterframeHDTV.png]

then find the below control in "skin\720p\Viewtype_Poster.xml"


<control type="image">
<posx>2</posx>
<posy>18</posy>
<width>324</width>
<height>480</height>
<texture>poster/posterframeFO.png</texture>
<include>Animation_PosterInfoSlide</include>
<animation type="Focus" reversible="false">
<effect type="zoom" center="164,258" start="60" end="100" time="600" tween="back" easing="out" />
<effect type="fade" start="80" end="100" time="600" />
</animation>
</control>


and replace it with...


<control type="image">
<posx>2</posx>
<posy>18</posy>
<width>324</width>
<height>480</height>
<texture>poster/posterframeFO.png</texture>
<include>Animation_PosterInfoSlide</include>
<animation type="Focus" reversible="false">
<effect type="zoom" center="164,258" start="60" end="100" time="600" tween="back" easing="out" />
<effect type="fade" start="80" end="100" time="600" />
</animation>
<visible>!substring(ListItem.VideoResolution,1080)</visible>
<visible>!substring(ListItem.VideoResolution,720)</visible>
</control>
<control type="image">
<posx>2</posx>
<posy>18</posy>
<width>324</width>
<height>480</height>
<texture>poster/posterframeBLU.png</texture>
<include>Animation_PosterInfoSlide</include>
<animation type="Focus" reversible="false">
<effect type="zoom" center="164,258" start="60" end="100" time="600" tween="back" easing="out" />
<effect type="fade" start="80" end="100" time="600" />
</animation>
<visible>substring(ListItem.VideoResolution,1080)</visible>
</control>
<control type="image">
<posx>2</posx>
<posy>18</posy>
<width>324</width>
<height>480</height>
<texture>poster/posterframeHDTV.png</texture>
<include>Animation_PosterInfoSlide</include>
<animation type="Focus" reversible="false">
<effect type="zoom" center="164,258" start="60" end="100" time="600" tween="back" easing="out" />
<effect type="fade" start="80" end="100" time="600" />
</animation>
<visible>substring(ListItem.VideoResolution,720)</visible>
</control>



then you should have the overlay display on appropriate titles.

[Image: screenshot002.jpg]

This could be very simply used further to allow dvd, hd-dvd, screener, etc. by using source or filename instead of resolution for the visible command and creating additional pngs but I really just wanted to easily identify 720p and 1080p content at the moment.



There's a few failings first as stated it only shows when in focus, should be an easy fix but it's late and will look at it another time. second, it doesn't resize or position the poster so cuts off part of the image, not sure I'll find this as easy but should be doable I hope will try it later again. last the overlays are a bit jaggy on laptop, not checked in dhtv yet, will play with images and try to improve.

if anyone can make it better go right ahead, and I hope others enjoy it.
(This post was last modified: 2010-02-10 04:25 by craigd.)
find quote
PrimaryMaster Offline
Senior Member
Posts: 171
Joined: May 2009
Reputation: 0
Post: #2
make a new one for the new Alaska revisited....

[Image: xbmcnubanner.jpg]
find quote