Kodi Community Forum
Remove spoiler image episode - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Estuary (https://forum.kodi.tv/forumdisplay.php?fid=260)
---- Thread: Remove spoiler image episode (/showthread.php?tid=320996)



Remove spoiler image episode - mariouir - 2017-09-03

Hi, It's possible to remove the thumbnail from the episode on tv shows for prevent spoilers?


RE: Remove spoiler image episode - adun79 - 2017-09-04

If you want to replace it with tv show landscape or fanart for unwatched episodes, find InfoWallThumbVar in Variables.xml and add these two lines before the two <value> lines:

Quote:<value condition="String.IsEqual(ListItem.DbType,episode) + !Integer.IsGreater(ListItem.Playcount,0) + !String.IsEmpty(ListItem.Art(tvshow.landscape))">$INFO[ListItem.Art(tvshow.landscape)]</value>

<value condition="String.IsEqual(ListItem.DbType,episode) + !Integer.IsGreater(ListItem.Playcount,0) + !String.IsEmpty(ListItem.Art(fanart))">$INFO[ListItem.Art(fanart)]</value>



If you want to make it a skin option, in SkinSettings.xml, inside the block that starts with <control type="grouplist" id="600"> add this

Quote: <control type="radiobutton" id="6051">
<label>Hide thumbnails for unwatched episodes</label>
<include>DefaultSettingButton</include>
<onclick>Skin.ToggleSetting(hide_thumbs)</onclick>
<selected>Skin.HasSetting(hide_thumbs)</selected>
</control>

then in the two lines that you added to InfoWallThumbVar add the condition + Skin.HasSetting(hide_thumbs), so basically

Quote:<value condition="String.IsEqual(ListItem.DbType,episode) + Skin.HasSetting(hide_thumbs) + !Integer.IsGreater(ListItem.Playcount,0) + !String.IsEmpty(ListItem.Art(tvshow.landscape))">$INFO[ListItem.Art(tvshow.landscape)]</value>

<value condition="String.IsEqual(ListItem.DbType,episode) + Skin.HasSetting(hide_thumbs) + !Integer.IsGreater(ListItem.Playcount,0) + !String.IsEmpty(ListItem.Art(fanart))">$INFO[ListItem.Art(fanart)]</value>



RE: Remove spoiler image episode - mariouir - 2017-09-06

(2017-09-04, 00:17)adun79 Wrote: If you want to replace it with tv show landscape or fanart for unwatched episodes, find InfoWallThumbVar in Variables.xml and add these two lines before the two <value> lines:

Quote:<value condition="String.IsEqual(ListItem.DbType,episode) + !Integer.IsGreater(ListItem.Playcount,0) + !String.IsEmpty(ListItem.Art(tvshow.landscape))">$INFO[ListItem.Art(tvshow.landscape)]</value>

<value condition="String.IsEqual(ListItem.DbType,episode) + !Integer.IsGreater(ListItem.Playcount,0) + !String.IsEmpty(ListItem.Art(fanart))">$INFO[ListItem.Art(fanart)]</value>



If you want to make it a skin option, in SkinSettings.xml, inside the block that starts with <control type="grouplist" id="600"> add this

Quote: <control type="radiobutton" id="6051">
<label>Hide thumbnails for unwatched episodes</label>
<include>DefaultSettingButton</include>
<onclick>Skin.ToggleSetting(hide_thumbs)</onclick>
<selected>Skin.HasSetting(hide_thumbs)</selected>
</control>

then in the two lines that you added to InfoWallThumbVar add the condition + Skin.HasSetting(hide_thumbs), so basically

Quote:<value condition="String.IsEqual(ListItem.DbType,episode) + Skin.HasSetting(hide_thumbs) + !Integer.IsGreater(ListItem.Playcount,0) + !String.IsEmpty(ListItem.Art(tvshow.landscape))">$INFO[ListItem.Art(tvshow.landscape)]</value>

<value condition="String.IsEqual(ListItem.DbType,episode) + Skin.HasSetting(hide_thumbs) + !Integer.IsGreater(ListItem.Playcount,0) + !String.IsEmpty(ListItem.Art(fanart))">$INFO[ListItem.Art(fanart)]</value>


Thank you so much man


RE: Remove spoiler image episode - WilliamG - 2018-10-20

Just came here to thank you so so so so so so so so so so much.

While this only seems to work on some view styles for the Estuary skin, I'm SO HAPPY this is something I was able to make work. Thank you thank you thank you thank you.

Question: Is there a way to make this work in the List / WideList views for TV shows? It only seems to work in the "Wall" views.


This forum uses Lukasz Tkacz MyBB addons.