[MOD] Movie/episode title with poster/fanart on paused or on info

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
reaven Offline
Skilled Skinner
Posts: 1,105
Joined: May 2009
Reputation: 20
Thumbs Up  [MOD] Movie/episode title with poster/fanart on paused or on info
Post: #1
I modify the changes from LaTropa64 and add:

*round the posters corner
*add glass overlay
*add fanart with name in tv shows instead of screenshot

I add my code to the DialogSeekBar.xml to see the info when I pause a movie you can add it to the DialogFullScreenInfo.xml to access it via " i " or info.

NEW fix and reduce complete code

to use this MOD see here, this is merge with another MOD

Pictures:
[Image: screenshot000-2.jpg]

[Image: screenshot001-1.jpg]

[Image: screenshot002-2.jpg]

[Image: screenshot000-3.jpg]

[Image: screenshot000-4.jpg]


On Trailers
[Image: P1011552.jpg]
(This post was last modified: 2009-06-21 05:14 by reaven.)
find quote
g00fy1 Offline
Senior Member
Posts: 152
Joined: Mar 2009
Reputation: 0
Location: Michigan
Post: #2
That HT setup is slick!
find quote
garvani Offline
Senior Member
Posts: 164
Joined: Apr 2009
Reputation: 0
Location: Nelson, New Zealand
Post: #3
Cheers for the mod! ill look into doing that tonight!

Meanwhile i have to agree that HT setup is sick! good god mine feels rather inadequate now!!!
find quote
Livin Offline
Posting Freak
Posts: 3,529
Joined: May 2004
Reputation: 17
Location: above ground
Post: #4
nice work... it would be nice to see in the Mod Pack

I'm not an expert but I play one at work.
find quote
reaven Offline
Skilled Skinner
Posts: 1,105
Joined: May 2009
Reputation: 20
Post: #5
thanks guys, I already make a future request ticket to avoid all the coding for each tv show title instead it would be a single command to grab the tvshow fanart with title in it.

Quote:that HT setup is sick!
lol, Thanks I love my HT !
find quote
rflores2323 Online
Posting Freak
Posts: 1,920
Joined: Jan 2009
Reputation: 2
Post: #6
What am I doing wrong as it does not show for me on movies or tv

see below code that I added to the xml DialogSeekBar.xml at the bottom.



Code:
<window id="115">
    <defaultcontrol>23</defaultcontrol>
    <visible>Window.IsActive(2005) + !Window.IsActive(2901) + [Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding]</visible>
    <controls>

    <control type="group">
        <posx>0</posx>
        <posy>620</posy>
        <width>1280</width>
        <height>159</height>
        <include>Animation_CommonFade</include>    
    
    <control type="image">
        <description>Panel</description>
        <posx>0</posx>
        <posy>0</posy>
        <height>159</height>
        <width>1280</width>
        <colordiffuse>cdffffff</colordiffuse>
        <texture>osd/osd_back.png</texture>
    </control>

    <control type="progress" id="23">
        <description>Progressbar</description>
        <posx>112</posx>
        <posy>40</posy>
        <width>1057</width>
        <height>15</height>
        <info>Player.Progress</info>
        <texturebg>osd/osd_progress_back.png</texturebg>
        <lefttexture>osd/osd_progress_left.png</lefttexture>
        <midtexture>osd/osd_progress_mid.png</midtexture>
        <righttexture>osd/osd_progress_right.png</righttexture>
        <overlaytexture>-</overlaytexture>
        <visible>true</visible>
    </control>

    <control type="image">
        <posx>499</posx>
        <posy>-20</posy>
        <width>281</width>
        <height>28</height>
        <texture>osd/osd_button_paused.png</texture>
        <include>Animation_CommonFade</include>
        <visible>Player.Paused</visible>
    </control>
    
    <control type="label">
        <posx>499</posx>
        <posy>-20</posy>
        <width>281</width>
        <height>28</height>
        <aligny>center</aligny>
        <align>center</align>
        <font>Font_OSDSeek</font>
        <textcolor>FF363636</textcolor>
        <include>Animation_CommonFade</include>    
        <label>PAUSED</label>
        <visible>Player.Paused</visible>
    </control>    
    
    <control type="group">
        <posx>-500</posx>
        <posy>-20</posy>
        <width>499</width>
        <height>28</height>
        <animation effect="slide" end="200,0" time="200" condition="Player.Forwarding2x">Conditional</animation>
        <animation effect="slide" end="275,0" time="200" condition="Player.Forwarding4x">Conditional</animation>
        <animation effect="slide" end="350,0" time="200" condition="Player.Forwarding8x">Conditional</animation>
        <animation effect="slide" end="425,0" time="200" condition="Player.Forwarding16x">Conditional</animation>
        <animation effect="slide" end="499,0" time="200" condition="Player.Forwarding32x">Conditional</animation>
        
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>499</width>
            <height>28</height>
            <texture>osd/osd_button_reverse.png</texture>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekForward</include>
            <label>$LOCALIZE[31706] 2X</label>
            <visible>Player.Forwarding2x</visible>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekForward</include>
            <label>$LOCALIZE[31706] 4X</label>
            <visible>Player.Forwarding4x</visible>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekForward</include>
            <label>$LOCALIZE[31706] 8X</label>
            <visible>Player.Forwarding8x</visible>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekForward</include>
            <label>$LOCALIZE[31706] 16X</label>
            <visible>Player.Forwarding16x</visible>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekForward</include>
            <label>$LOCALIZE[31706] 32X</label>
            <visible>Player.Forwarding32x</visible>
        </control>
        
    </control>
    
    <control type="group">
        <posx>1280</posx>
        <posy>-20</posy>
        <width>499</width>
        <height>28</height>
        <animation effect="slide" end="-200,0" time="200" condition="Player.Rewinding2x">Conditional</animation>
        <animation effect="slide" end="-275,0" time="200" condition="Player.Rewinding4x">Conditional</animation>
        <animation effect="slide" end="-350,0" time="200" condition="Player.Rewinding8x">Conditional</animation>
        <animation effect="slide" end="-425,0" time="200" condition="Player.Rewinding16x">Conditional</animation>
        <animation effect="slide" end="-499,0" time="200" condition="Player.Rewinding32x">Conditional</animation>
        
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>499</width>
            <height>28</height>
            <texture>osd/osd_button_advance.png</texture>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekReverse</include>
            <label>$LOCALIZE[31705] 2X</label>
            <visible>Player.Rewinding2x</visible>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekReverse</include>
            <label>$LOCALIZE[31705] 4X</label>
            <visible>Player.Rewinding4x</visible>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekReverse</include>
            <label>$LOCALIZE[31705] 8X</label>
            <visible>Player.Rewinding8x</visible>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekReverse</include>
            <label>$LOCALIZE[31705] 16X</label>
            <visible>Player.Rewinding16x</visible>
        </control>
        
        <control type="label">
            <include>Objects_OSDSeekReverse</include>
            <label>$LOCALIZE[31705] 32X</label>
            <visible>Player.Rewinding32x</visible>
        </control>
        
    </control>
    
    <control type="label">
        <posx>112</posx>
        <posy>60</posy>
        <width>300</width>
        <height>25</height>
        <font>Font_OSDTime</font>
        <colordiffuse>d0FFFFFF</colordiffuse>
        <label>$INFO[VideoPlayer.Time] ($INFO[System.Time])</label>
    </control>
    
    <control type="label">
        <posx>1168</posx>
        <posy>60</posy>
        <width>300</width>
        <height>25</height>
        <font>Font_OSDTime</font>
        <align>right</align>
        <colordiffuse>d0FFFFFF</colordiffuse>
        <label>$INFO[VideoPlayer.Duration] ($INFO[Player.FinishTime])</label>
    </control>
    
    </control>
    
    </controls>

        <control type="image">    
        <description>cover image movie</description>    
        <posx>1130</posx>    
        <posy>-217</posy>    
        <width>150</width>    
        <height>225</height>  
        <texture diffuse="thumbs/movieposter_mask.png">$INFO[VideoPlayer.cover]</texture>    
        <aspectratio align="right" aligny="bottom">keep</aspectratio>  
        <visible>VideoPlayer.Content(movies)</visible>    
    </control>  

        <control type="image">  
        <posx>1130</posx>    
        <posy>-217</posy>    
        <width>150</width>    
        <height>225</height>  
        <texture>thumbs/poster_glass.png</texture>
           <!-- fix added code -->
        <aspectratio align="right" aligny="bottom">scale</aspectratio>
           <!-- end fix added code -->    
        <visible>VideoPlayer.Content(movies)</visible>  
    </control>  

        <control type="image">    
        <description>cover image episodes</description>    
        <posx>1049</posx>    
        <posy>-243</posy>    
        <width>230</width>    
        <height>250</height>    
        <texture diffuse="thumbs/movieposter_mask.png">thumbs/<path to the fanart></texture>    
        <aspectratio align="right" aligny="bottom">keep</aspectratio>  
        <visible>VideoPlayer.Content(episodes) + substring(VideoPlayer.TVShowTitle,<your tv show title> )</visible>    
    </control>    

        <control type="image">  
        <posx>1049</posx>    
        <posy>-122</posy>    
        <width>230</width>    
        <height>131</height>  
        <texture>thumbs/poster_glass.png</texture>
            <!-- fix added code -->
        <aspectratio align="right" aligny="bottom">scale</aspectratio>
            <!-- end fix added code -->  
        <visible>VideoPlayer.Content(episodes)</visible>  
    </control>  
</window>
find quote
reaven Offline
Skilled Skinner
Posts: 1,105
Joined: May 2009
Reputation: 20
Post: #7
PHP Code:
<control type="image">    
        <
description>cover image episodes</description>     
        <
posx>1049</posx>     
        <
posy>-243</posy>    
        <
width>230</width>     
        <
height>250</height>     
        <
texture diffuse="thumbs/movieposter_mask.png">thumbs/<path to the fanart></texture>     
        <
aspectratio align="right" aligny="bottom">keep</aspectratio>   
        <
visible>VideoPlayer.Content(episodes) + substring(VideoPlayer.TVShowTitle,<your tv show title> )</visible>    
    </
control

Of course not if you read the instructions you have to make the code above for each show and replace where is obvious to replace
Quote:<texture diffuse="thumbs/movieposter_mask.png">thumbs/<path to the fanart></texture>
you haver to put the show fanart to use in thumbs and based on the name of the fanart replace like(thumbs/fringe.jpg)
and in
Code:
VideoPlayer.TVShowTitle,<your tv show title>
you need to put the name of the show like (VideoPlayer.TVShowTitle, Fringe)


the one for the movies should work fine like it is.
find quote
reaven Offline
Skilled Skinner
Posts: 1,105
Joined: May 2009
Reputation: 20
Post: #8
code reduce and fix!
find quote