HOW-TO:Change the episode thumbnail in Confluence: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with "This tutorial will show how to hide or change the '''episode thumbnail''' on the ''OSD'' and ''Info Screen''. This is achieved by editing [https://github.com/xbmc/xbmc/blob/ma...")
 
No edit summary
Line 1: Line 1:
This tutorial will show how to hide or change the '''episode thumbnail''' on the ''OSD'' and ''Info Screen''. This is achieved by editing [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullScreen.xml VideoFullScreen.xml]. You'd want to do this because sometimes the thumbnails contain spoilers.
This tutorial will show how to hide or change the '''episode thumbnail''' on the ''OSD'' and ''Info Screen''. This is achieved by editing [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullScreen.xml VideoFullScreen.xml]. You'd want to do this because sometimes the thumbnails contain spoilers.


=Hiding the episode thumbnail=
==Hiding the episode thumbnail==
Open the file VideoFullScreen.xml and find the following section, comment it out. It's easiest found by searching for '''[VideoPlayer.Content(Movies) | VideoPlayer.Content(LiveTV)]'''
Open the file VideoFullScreen.xml and find the following section, comment it out. It's easiest found by searching for '''[VideoPlayer.Content(Movies) | VideoPlayer.Content(LiveTV)]'''
<br />  
<br />  
Line 18: Line 18:
</control</syntaxhighlight>
</control</syntaxhighlight>


=Changing the episode thumbnail to a TV Show poster=
==Changing the episode thumbnail to a TV Show poster==
A. Open the file VideoFullScreen.xml and find the following section. It's easiest found by searching for '''[VideoPlayer.Content(Movies) | VideoPlayer.Content(LiveTV)]'''
A. Open the file VideoFullScreen.xml and find the following section. It's easiest found by searching for '''[VideoPlayer.Content(Movies) | VideoPlayer.Content(LiveTV)]'''
<syntaxhighlight lang="xml"><control type="image" id="1"><br />
<syntaxhighlight lang="xml"><control type="image" id="1"><br />

Revision as of 07:12, 7 August 2015

This tutorial will show how to hide or change the episode thumbnail on the OSD and Info Screen. This is achieved by editing VideoFullScreen.xml. You'd want to do this because sometimes the thumbnails contain spoilers.

Hiding the episode thumbnail

Open the file VideoFullScreen.xml and find the following section, comment it out. It's easiest found by searching for [VideoPlayer.Content(Movies) | VideoPlayer.Content(LiveTV)]
This mod will simply just remove the thumbnail, leaving an obvious GUI element missing. So you'd want to modify the file more to e.g. extend the seekbar.

<control type="image" id="1"><br />
    <description>cover image</description>
    <left>20</left>
    <top>260r</top>
    <width>300</width>
    <height>230</height>
    <texture fallback="DefaultVideoCover.png">$INFO[Player.Art(thumb)]</texture>
    <aspectratio aligny="bottom">keep</aspectratio>
    <bordertexture border="8">ThumbShadow.png</bordertexture>
    <bordersize>8</bordersize>
    <visible>![VideoPlayer.Content(Movies) | VideoPlayer.Content(LiveTV)]</visible>
</control

Changing the episode thumbnail to a TV Show poster

A. Open the file VideoFullScreen.xml and find the following section. It's easiest found by searching for [VideoPlayer.Content(Movies) | VideoPlayer.Content(LiveTV)]

<control type="image" id="1"><br />
    <description>cover image</description>
    <left>20</left>
    <top>260r</top>
    <width>300</width>
    <height>230</height>
    <texture fallback="DefaultVideoCover.png">$INFO[Player.Art(thumb)]</texture>
    <aspectratio aligny="bottom">keep</aspectratio>
    <bordertexture border="8">ThumbShadow.png</bordertexture>
    <bordersize>8</bordersize>
    <visible>![VideoPlayer.Content(Movies) | VideoPlayer.Content(LiveTV)]</visible>
</control

B. Replace $INFO[Player.Art(thumb) with $INFO[Player.Art(tvshow.poster)
This changes to thumnail to a TV Show poster.
C. Change:
<top>260r</top> to <top>350r</top>
<height>230</height> to <height>330</height>
This will make the TV Show poster the same size as movie posters.