HOW-TO:Remove ratings in Confluence: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 7: Line 7:
===List===
===List===
A. Open the file [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullScreen.xml ViewsFileMode.xml].  
A. Open the file [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullScreen.xml ViewsFileMode.xml].  
The file starts with '''<include name="CommonRootView">''', which is the include for the List view.<br />
The file starts with '''<include name="CommonRootView">''', which is the ''include'' section for the ''List view''.<br />
B. Find the following code and comment it out. The exact same code is in places in the CommonRootView include. The first one shows name/ratings/date in ''grey'' when the selection ''isn't'' on it, while the second one is for showing name/ratings/date in ''white'' when the selection ''is'' on it.
B. Find the following code and comment it out. The exact same code is in ''two'' places in the CommonRootView include. The first one shows name/ratings/date in ''grey'' when the selection ''isn't'' on it, while the second one is for showing name/ratings/date in ''white'' when the selection ''is'' on it.
<syntaxhighlight lang="xml"><control type="label">
<syntaxhighlight lang="xml"><control type="label">
<left>220</left>
<left>220</left>
Line 26: Line 26:


===Big List===
===Big List===
Open the file [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullScreen.xml ViewsFileMode.xml].  
A. Open the file [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullScreen.xml ViewsFileMode.xml].  
 
Find '''<include name="FullWidthList">''', which is the ''include'' section for the ''Big list'' view.<br />
B. Find the following code and comment it out. The exact same code is in places in two the FullWidthList include. The first one shows name/ratings/date in ''grey'' when the selection ''isn't'' on it, while the second one is for showing name/ratings/date in ''white'' when the selection ''is'' on it.
<syntaxhighlight lang="xml"><control type="label">
<left>220</left>
<top>0</top>
<width>400</width>
<height>40</height>
<font>font12</font>
<textcolor>grey2</textcolor>
<selectedcolor>selected</selectedcolor>
<align>right</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label2]</label>
<visible>Window.IsVisible(Videos)</visible>
<animation effect="slide" start="0,0" end="40,0" delay="0" time="0" condition="![Container.Content(Movies) | Container.Content(Episodes) | Container.Content(MusicVideos)]">conditional</animation>
</control>
</syntaxhighlight>
===Media info===
===Media info===
Open the file [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/ViewsVideoLibrary.xml ViewsVideoLibrary.xml].
A. Open the file [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/ViewsVideoLibrary.xml ViewsVideoLibrary.xml].
Find '''<include name="MediaListView2">''' (No, it's not a typo. MI=MLV2), which is the ''include'' section for the ''Media info'' view.<br />
B. Find the following code and comment it out. The exact same code is in places in two the MediaListView2 include. The first one shows name/ratings/date in ''grey'' when the selection ''isn't'' on it, while the second one is for showing name/ratings/date in ''white'' when the selection ''is'' on it.
<syntaxhighlight lang="xml"><control type="label">
<left>220</left>
<top>0</top>
<width>400</width>
<height>40</height>
<font>font12</font>
<textcolor>grey2</textcolor>
<selectedcolor>selected</selectedcolor>
<align>right</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label2]</label>
<visible>Window.IsVisible(Videos)</visible>
<animation effect="slide" start="0,0" end="40,0" delay="0" time="0" condition="![Container.Content(Movies) | Container.Content(Episodes) | Container.Content(MusicVideos)]">conditional</animation>
</control>
</syntaxhighlight>


===Media info 2===
===Media info 2===
Open the file [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/ViewsVideoLibrary.xml ViewsVideoLibrary.xml].
A. Open the file [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/ViewsVideoLibrary.xml ViewsVideoLibrary.xml].
Find '''<include name="MediaListView3">''' (No, it's not a typo. MI2=MLV3), which is the ''include'' section for the ''Media info 2'' view.<br />
B. Find the following code and comment it out. The exact same code is in places in two the MediaListView3 include. The first one shows name/ratings/date in ''grey'' when the selection ''isn't'' on it, while the second one is for showing name/ratings/date in ''white'' when the selection ''is'' on it.
<syntaxhighlight lang="xml"><control type="label">
<left>220</left>
<top>0</top>
<width>400</width>
<height>40</height>
<font>font12</font>
<textcolor>grey2</textcolor>
<selectedcolor>selected</selectedcolor>
<align>right</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label2]</label>
<visible>Window.IsVisible(Videos)</visible>
<animation effect="slide" start="0,0" end="40,0" delay="0" time="0" condition="![Container.Content(Movies) | Container.Content(Episodes) | Container.Content(MusicVideos)]">conditional</animation>
</control>
</syntaxhighlight>

Revision as of 20:17, 9 September 2015

This tutorial will show how to remove ratings from the library views List/Big List/Media Info/Media Info 2 and from TV/Movie information. This is achieved by editing ViewsFileMode.xml, ViewsVideoLibrary.xml MyVideoNav.xml and DialogVideoInfo.xml.

Remove ratings from libray views

This is the quickest way, but doing it this way will not just remove ratings. It will also remove episode count, play count, MPAA rating and date from the library view you've edited (when selecting the corresponding sorting).

List

A. Open the file ViewsFileMode.xml. The file starts with <include name="CommonRootView">, which is the include section for the List view.
B. Find the following code and comment it out. The exact same code is in two places in the CommonRootView include. The first one shows name/ratings/date in grey when the selection isn't on it, while the second one is for showing name/ratings/date in white when the selection is on it.

<control type="label">
	<left>220</left>
	<top>0</top>
	<width>400</width>
	<height>40</height>
	<font>font12</font>
	<textcolor>grey2</textcolor>
	<selectedcolor>selected</selectedcolor>
	<align>right</align>
	<aligny>center</aligny>
	<label>$INFO[ListItem.Label2]</label>
	<visible>Window.IsVisible(Videos)</visible>
	<animation effect="slide" start="0,0" end="40,0" delay="0" time="0" condition="![Container.Content(Movies) | Container.Content(Episodes) | Container.Content(MusicVideos)]">conditional</animation>
</control>

Big List

A. Open the file ViewsFileMode.xml. Find <include name="FullWidthList">, which is the include section for the Big list view.
B. Find the following code and comment it out. The exact same code is in places in two the FullWidthList include. The first one shows name/ratings/date in grey when the selection isn't on it, while the second one is for showing name/ratings/date in white when the selection is on it.

<control type="label">
	<left>220</left>
	<top>0</top>
	<width>400</width>
	<height>40</height>
	<font>font12</font>
	<textcolor>grey2</textcolor>
	<selectedcolor>selected</selectedcolor>
	<align>right</align>
	<aligny>center</aligny>
	<label>$INFO[ListItem.Label2]</label>
	<visible>Window.IsVisible(Videos)</visible>
	<animation effect="slide" start="0,0" end="40,0" delay="0" time="0" condition="![Container.Content(Movies) | Container.Content(Episodes) | Container.Content(MusicVideos)]">conditional</animation>
</control>

Media info

A. Open the file ViewsVideoLibrary.xml. Find <include name="MediaListView2"> (No, it's not a typo. MI=MLV2), which is the include section for the Media info view.
B. Find the following code and comment it out. The exact same code is in places in two the MediaListView2 include. The first one shows name/ratings/date in grey when the selection isn't on it, while the second one is for showing name/ratings/date in white when the selection is on it.

<control type="label">
	<left>220</left>
	<top>0</top>
	<width>400</width>
	<height>40</height>
	<font>font12</font>
	<textcolor>grey2</textcolor>
	<selectedcolor>selected</selectedcolor>
	<align>right</align>
	<aligny>center</aligny>
	<label>$INFO[ListItem.Label2]</label>
	<visible>Window.IsVisible(Videos)</visible>
	<animation effect="slide" start="0,0" end="40,0" delay="0" time="0" condition="![Container.Content(Movies) | Container.Content(Episodes) | Container.Content(MusicVideos)]">conditional</animation>
</control>

Media info 2

A. Open the file ViewsVideoLibrary.xml. Find <include name="MediaListView3"> (No, it's not a typo. MI2=MLV3), which is the include section for the Media info 2 view.
B. Find the following code and comment it out. The exact same code is in places in two the MediaListView3 include. The first one shows name/ratings/date in grey when the selection isn't on it, while the second one is for showing name/ratings/date in white when the selection is on it.

<control type="label">
	<left>220</left>
	<top>0</top>
	<width>400</width>
	<height>40</height>
	<font>font12</font>
	<textcolor>grey2</textcolor>
	<selectedcolor>selected</selectedcolor>
	<align>right</align>
	<aligny>center</aligny>
	<label>$INFO[ListItem.Label2]</label>
	<visible>Window.IsVisible(Videos)</visible>
	<animation effect="slide" start="0,0" end="40,0" delay="0" time="0" condition="![Container.Content(Movies) | Container.Content(Episodes) | Container.Content(MusicVideos)]">conditional</animation>
</control>