Remove spoiler image episode
#1
Hi, It's possible to remove the thumbnail from the episode on tv shows for prevent spoilers?
Reply
#2
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>
Reply
#3
(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
Reply
#4
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.
Reply

Logout Mark Read Team Forum Stats Members Help
Remove spoiler image episode1