Hi,
When I select a set into the library (movie view), my view shows the posters for the movies that belong to it :
![Full sized picture Image]()
All my sets are stored into dedicated folders, so, each folder corresponds to one set. However, when I select a folder into the video view, I've got this :
![Full sized picture Image]()
I think extra default pictures are corresponding to nfo and jpeg files (one movie = 3 files, nfo, jpg and mkv) plus extra jpegs for folder (folder.jpg, fanart.jpg, poster.jpg).
I have tried to filter those extra files with conditional visibility for the itemlayout, this panel is for video view, not movie one :
But, then, I've got this, with empty spaces :
![Full sized picture Image]()
How can I filter extra files to display correctly the set ? May be I should call a python script that filters nfo and jpeg files, however, I have no idea how to achieve this (I know how to call a script, but not how to send the folder path to it, nor how to send the result from it).
I've got an extra question : why autoscroll is not working for the code above ?
Thanks
When I select a set into the library (movie view), my view shows the posters for the movies that belong to it :

All my sets are stored into dedicated folders, so, each folder corresponds to one set. However, when I select a folder into the video view, I've got this :

I think extra default pictures are corresponding to nfo and jpeg files (one movie = 3 files, nfo, jpg and mkv) plus extra jpegs for folder (folder.jpg, fanart.jpg, poster.jpg).
I have tried to filter those extra files with conditional visibility for the itemlayout, this panel is for video view, not movie one :
Code:
<control type="panel" id="5000">
<visible>ListItem.IsFolder + !ListItem.IsCollection</visible>
<top>190</top>
<left>15</left>
<width>450</width>
<bottom>70</bottom>
<preloaditems>2</preloaditems>
<autoscroll>true</autoscroll>
<scrolltime tween="linear">1500</scrolltime>
<orientation>vertical</orientation>
<content sortorder="ascending">$INFO[ListItem.FolderPath]</content>
<itemlayout height="201" width="150">
<control type="group">
<top>7</top>
<visible>String.EndsWith(ListItem.FolderPath,.mkv)</visible>
<control type="image">
<top>0</top>
<width>163</width>
<height>211</height>
<texture>DefaultActorSolid.png</texture>
<aspectratio aligny="center">scale</aspectratio>
<bordertexture border="21">overlays/shadow.png</bordertexture>
<bordersize>13</bordersize>
</control>
<control type="image">
<top>13</top>
<left>13</left>
<width>136</width>
<height>185</height>
<texture background="true">$INFO[ListItem.Art(poster)]</texture>
<aspectratio aligny="center">scale</aspectratio>
</control>
</control>
</itemlayout>
<focusedlayout height="201" width="150">
<control type="group">
<left>0</left>
<top>7</top>
<visible>String.EndsWith(ListItem.FolderPath,.mkv)</visible>
<control type="image">
<top>0</top>
<width>163</width>
<height>211</height>
<texture>DefaultActorSolid.png</texture>
<aspectratio aligny="center">scale</aspectratio>
<bordertexture border="21">overlays/shadow.png</bordertexture>
<bordersize>13</bordersize>
</control>
<control type="image">
<top>13</top>
<left>13</left>
<width>136</width>
<height>185</height>
<texture background="true">$INFO[ListItem.Art(poster)]</texture>
<aspectratio aligny="center">scale</aspectratio>
</control>
<control type="image">
<left>11</left>
<top>11</top>
<width>141</width>
<height>190</height>
<texture border="5" colordiffuse="button_focus">buttons/thumbnail_focused.png</texture>
</control>
</control>
</focusedlayout>
</control>
But, then, I've got this, with empty spaces :

How can I filter extra files to display correctly the set ? May be I should call a python script that filters nfo and jpeg files, however, I have no idea how to achieve this (I know how to call a script, but not how to send the folder path to it, nor how to send the result from it).
I've got an extra question : why autoscroll is not working for the code above ?
Thanks