See the code below. Why does TVseries require two listcontrols of which one has a subtype 'album'? I noticed that lists do not properly refresh when changing between series, season and episode views without the first listcontrol. The wiki doesn't mention the subtype 'album'. Adding the subtype 'album' to the second listcontrol and getting rid of the first listcontrol doesn't fix the refresh behaviour so it's a bit of a mystery to me.
Anyone able to explain what's happening? I'm just curious... I like to know what I'm doing.
Anyone able to explain what's happening? I'm just curious... I like to know what I'm doing.
Code:
<!--
list, thumbnail and filmstrip layout
-->
<control>
<type>group</type>
<!-- This defines the various types of filebrowsing that are used: lists, thumbnail panels and filmstrips -->
<control>
<type>facadeview</type>
<id>50</id>
<!-- This is needed to enable proper refresh of lists when changing between series, season and episodes view -->
<control>
<type>listcontrol</type>
<subtype>album</subtype>
</control>
<!-- list. Position and layout are defined in references.xml -->
<control Style="tvseries">
<type>listcontrol</type>
<onright>2</onright>
</control>
<!-- thumbnails. Position and layout are defined in references.xml -->
<control Style="banners">
<type>thumbnailpanel</type>
<onright>2</onright>
</control>
<!-- This is the row of thumbs in filmstrip view. Position and layout are defined in references.xml -->
<control Style="oblong">
<type>filmstrip</type>
<onup>2</onup>
</control>
</control><!-- end facadeview -->
</control><!-- end group -->