[FIX] trailer button appears even when there's no trailer
#1
djh_ comited a fix for this to Git on 2009-06-01 but it only fixed it for movies, not tv shows. Here's a small additional fix to make it work for tv shows as well:

DialogVideoInfo.xml:

Replace...
Code:
<control type="button" id="11">
<label>31409</label>
<include>Objects_FSInfoButton</include>
</control>

...with...
Code:
<control type="button" id="11">
<label>31409</label>
<include>Objects_FSInfoButton</include>
[b]<visible>!IsEmpty(ListItem.Trailer)</visible>[/b]            
</control>

The new line is added to line 505 if you're using a unmodified file from Git.

Update: This fix is no longer needed, it has now been commit to Git
Reply

Logout Mark Read Team Forum Stats Members Help
[FIX] trailer button appears even when there's no trailer0