2011-04-28, 00:29
Next is the preview support, just do the following:
Open Common Video Library Views.xml
Locate line 10634
Then replace:
With:
Then search for id="537"
Replace:
With:
<onup>1337</onup>
Remember that for this to work your file must be called pv.mkv also note that the size of the label has been changed from the default height of 65 in order to look nice with the studio label. If you want it the default just change 50 in height back to 65.
Open Common Video Library Views.xml
Locate line 10634
Then replace:
Code:
<control type="label">
<posx>535</posx>
<posy>20</posy>
<width>180</width>
<height>65</height>
<font>Heading-M</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.label]</label>
<scroll>true</scroll>
<visible>IsEmpty(Control.GetLabel(77020))</visible>
<visible>container.content(tvshows) + Control.IsVisible(537)</visible>
<visible>Skin.HasSetting(TV Poster)</visible>
<animation effect="fade" time="200">WindowClose</animation>
</control>
With:
Code:
<control type="button" id="1337">
<posx>535</posx>
<posy>20</posy>
<width>180</width>
<height>50</height>
<font>Heading-M</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.label]</label>
<scroll>true</scroll>
<visible>IsEmpty(Control.GetLabel(77020))</visible>
<visible>container.content(tvshows) + Control.IsVisible(537)</visible>
<visible>Skin.HasSetting(TV Poster)</visible>
<animation effect="fade" time="200">WindowClose</animation>
<colordiffuse>ddffffff</colordiffuse>
<onclick>PlayMedia($INFO[ListItem.Path]/pv.mkv)</onclick>
<onleft>2</onleft>
<onright>2</onright>
<onup>2</onup>
<ondown>537</ondown>
</control>
Then search for id="537"
Replace:
Code:
<onup>2</onup>
With:
<onup>1337</onup>
Remember that for this to work your file must be called pv.mkv also note that the size of the label has been changed from the default height of 65 in order to look nice with the studio label. If you want it the default just change 50 in height back to 65.