HOW-TO:Remove media flags in Confluence: Difference between revisions
| Line 40: | Line 40: | ||
===Big list=== | ===Big list=== | ||
<gallery widths=500px heights=280px> | |||
File:Biglistorg.png|Original TV ''Big list'' | |||
File:Biglistflagsmod.png|MOD | |||
</gallery><br /> | |||
A. Open the file [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullScreen.xml Views'''FileMode'''.xml]. | |||
Find '''<include name="FullWidthList">''', which is the ''include'' section for the ''Big list'' view.<br /> | |||
B. Find '''<itemlayout height="40" width="1080">''' in the ''include'' section.<br /> | |||
C. Find following code in the ''itemlayout'' section and comment it out. It shows media flags (SD/HD) when the selection ''isn't'' on the row.<br /> | |||
[[File:480.png]] [[File:1080.png]] | |||
<syntaxhighlight lang="xml"> | |||
<control type="image"> | |||
<left>1010</left> | |||
<top>8</top> | |||
<width>40</width> | |||
<height>26</height> | |||
<texture>$VAR[MediaInfoOverlayVar]</texture> | |||
<aspectratio>keep</aspectratio> | |||
<visible>Window.IsVisible(Videos) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(Episodes) | Container.Content(MusicVideos)]</visible> | |||
</control> | |||
</syntaxhighlight> | |||
D. Find '''<focusedlayout height="40" width="1080">''' in the ''FullWidthList include'' section.<br /> | |||
E. Find following code in the ''focusedlayout'' section and comment it out. It shows media flags (SD/HD) when the selection ''is'' on the row. | |||
<syntaxhighlight lang="xml"> | |||
<control type="image"> | |||
<left>1010</left> | |||
<top>8</top> | |||
<width>40</width> | |||
<height>26</height> | |||
<texture>$VAR[MediaInfoOverlayVar]</texture> | |||
<aspectratio>keep</aspectratio> | |||
<visible>Window.IsVisible(Videos) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(Episodes) | Container.Content(MusicVideos)]</visible> | |||
</control> | |||
</syntaxhighlight> | |||
===Poster wrap=== | ===Poster wrap=== | ||
Revision as of 06:53, 16 September 2015
This tutorial will show how to remove media flags from the video library views. This is achieved by editing ViewsFileMode.xml and ViewsVideoLibrary.xml.
List
-
Original TV List view
-
MOD
A. Open the file ViewsFileMode.xml.
The file starts with <include name="CommonRootView">, which is the include section for the List view.
B. Find <itemlayout height="40" width="580"> in the include section.
C. Find following code in the itemlayout section and comment it out. It shows media flags (SD/HD) when the selection isn't on the row.
<control type="image"> <left>625</left> <top>8</top> <width>40</width> <height>26</height> <texture>$VAR[MediaInfoOverlayVar]</texture> <aspectratio>keep</aspectratio> <visible>Window.IsVisible(Videos) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(Episodes) | Container.Content(MusicVideos)]</visible> </control>
D. Find <focusedlayout height="40" width="580"> in the CommonRootView include section.
E. Find following code in the focusedlayout section and comment it out. It shows media flags (SD/HD) count when the selection is on the row.
<control type="image"> <left>625</left> <top>8</top> <width>40</width> <height>26</height> <texture>$VAR[MediaInfoOverlayVar]</texture> <aspectratio>keep</aspectratio> <visible>Window.IsVisible(Videos) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(Episodes) | Container.Content(MusicVideos)]</visible> </control>
Big list
-
Original TV Big list
-
MOD
A. Open the file ViewsFileMode.xml.
Find <include name="FullWidthList">, which is the include section for the Big list view.
B. Find <itemlayout height="40" width="1080"> in the include section.
C. Find following code in the itemlayout section and comment it out. It shows media flags (SD/HD) when the selection isn't on the row.
<control type="image"> <left>1010</left> <top>8</top> <width>40</width> <height>26</height> <texture>$VAR[MediaInfoOverlayVar]</texture> <aspectratio>keep</aspectratio> <visible>Window.IsVisible(Videos) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(Episodes) | Container.Content(MusicVideos)]</visible> </control>
D. Find <focusedlayout height="40" width="1080"> in the FullWidthList include section.
E. Find following code in the focusedlayout section and comment it out. It shows media flags (SD/HD) when the selection is on the row.
<control type="image"> <left>1010</left> <top>8</top> <width>40</width> <height>26</height> <texture>$VAR[MediaInfoOverlayVar]</texture> <aspectratio>keep</aspectratio> <visible>Window.IsVisible(Videos) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(Episodes) | Container.Content(MusicVideos)]</visible> </control>



