Episode Thumbnail in MP-TVSeries (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    In MediaPortal 1.1.0 you can make use of the skin string.equals() function to display a border corresponding to the aspect ratio of the thumbnail e.g.

    Code:
    		<!--Fullscreen/Invalid Image -->
    		<control>
    			<description>Episode picture BG</description>
    			<type>image</type>
    			<id>0</id>
    			<posX>1480</posX>
    			<posY>310</posY>
    			<width>420</width>
    			<height>320</height>
    			<texture>tvseries_episode_bg.png</texture>
    			<visible>Control.IsVisible(1239)+!string.equals(#TVSeries.Episode.EpImgFlag,2)</visible>
    			<keepaspectratio>yes</keepaspectratio>
    		</control>
    		<!--Widescreen Image -->
    		<control>
    			<description>Episode picture BG</description>
    			<type>image</type>
    			<id>0</id>
    			<posX>1480</posX>
    			<posY>344</posY>
    			<width>420</width>
    			<height>252</height>
    			<texture>tvseries_episode_bg.png</texture>
    			<visible>Control.IsVisible(1239)+string.equals(#TVSeries.Episode.EpImgFlag,2)</visible>
    			<keepaspectratio>no</keepaspectratio>
    		</control>

    #TVSeries.Episode.EpImgFlag will be '2' if widescreen
     

    Users who are viewing this thread

    Top Bottom