<window id="5111">
    <defaultcontrol>1003</defaultcontrol>
    <allowoverlay>yes</allowoverlay>
    <controls>
        <!-- Fallback background for non-standard skins -->
        <control type="image">
            <left>0</left>
            <top>0</top>
            <width>100%</width>
            <height>100%</height>
            <texture colordiffuse="FF202020">colors/fm_white.png</texture>
        </control>
        <include>DefaultBackground</include>
        <control type="group" id="700">
        <!-- 背景，沿用 estuary 的默认 -->
            

            <!-- 动画1: 信息窗口打开时淡出 -->
            <animation type="Conditional" condition="Window.IsVisible(movieinformation)" reversible="true">
                <effect type="fade" start="100" end="0" time="200" />
            </animation>

            <!-- 动画2-5: 焦点切换时的平移动画 -->
            <!-- 使用线性缓动和极短时间，模拟自带皮肤的即时响应 -->
            <animation type="Conditional" condition="Control.HasFocus(1004)">
                <effect type="slide" end="0,-500" time="250" />
            </animation>

            <animation type="Conditional" condition="Control.HasFocus(1005)">
                <effect type="slide" end="0,-1100" time="250" />
            </animation>

            <animation type="Conditional" condition="Control.HasFocus(1006)">
                <effect type="slide" end="0,-1700" time="250" />
            </animation>

            <animation type="Conditional" condition="Control.HasFocus(1007)">
                <effect type="slide" end="0,-2300" time="250" />
            </animation>

            <animation type="Conditional" condition="Control.HasFocus(1008)">
                <effect type="slide" end="0,-3000" time="250" />
            </animation>

            

            <!-- 横向搜索 筛选面板 -->
            <control type="group" id="800">
                <left>30</left>
                <top>30</top>
                <width>1820</width>
                <height>200</height>

                <!-- 横向搜索 筛选面板 -->
                <control type="panel" id="1001">
                    <left>0</left>
                    <top>0</top>
                    <width>1820</width>
                    <height>200</height>
                    <orientation>horizontal</orientation>
                    <scrolltime tween="cubic" easing="out">500</scrolltime>
                    <onup>1001</onup>
                    <ondown>1002</ondown>
                    <preloaditems>2</preloaditems>

                    <!-- ========== 普通状态布局 ========== -->
                    <itemlayout width="310" height="340">
                        <control type="group">
                            <left>0</left>

                            <!-- 背景卡片 -->
                            <control type="image">
                                <width>316</width>
                                <height>150</height>
                                <texture>dialogs/dialog-bg-nobo.png</texture>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>

                            <!-- 类型图标 -->
                            <control type="image">
                                <centertop>74</centertop>
                                <left>0</left>
                                <width>200</width>
                                <height>70</height>
                                <texture fallback="DefaultFolder.png">$INFO[ListItem.Icon]</texture>
                                <aspectratio>keep</aspectratio>
                            </control>

                            <!-- 类型文字 -->
                            <control type="textbox">
                                <left>60</left>
                                <top>40</top>
                                <width>240</width>
                                <height>70</height>
                                <label>$INFO[ListItem.Label]</label>
                                <font>font25_narrow</font>
                                <textcolor>FFFFFFFF</textcolor>
                                <shadowcolor>text_shadow</shadowcolor>
                                <align>center</align>
                                <aligny>center</aligny>
                            </control>
                        </control>
                    </itemlayout>

                    <!-- ========== 焦点状态布局 ========== -->
                    <focusedlayout width="310" height="340">
                        <control type="group">
                            <depth>DepthContentPopout</depth>
                            <left>0</left>

                            <!-- 焦点动画：放大到115% -->
                            <animation type="Focus">
                                <effect type="zoom" start="100" end="115" time="200" tween="sine" easing="inout" center="228,70" />
                            </animation>
                            <animation type="Unfocus">
                                <effect type="zoom" start="115" end="100" time="200" tween="sine" easing="inout" center="228,70" />
                            </animation>

                            <!-- 背景卡片 -->
                            <control type="image">
                                <width>316</width>
                                <height>150</height>
                                <texture colordiffuse="33FFFFFF">colors/fm_white.png</texture>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>

                            <!-- 焦点高亮层 -->
                            <control type="image">
                                <width>316</width>
                                <height>150</height>
                                <texture colordiffuse="button_focus">colors/grey.png</texture>
                                <bordersize>20</bordersize>
                                <animation effect="fade" start="0" end="100" time="200">Focus</animation>
                                <animation effect="fade" start="100" end="0" time="200">Unfocus</animation>
                            </control>

                            <!-- 类型图标 -->
                            <control type="image">
                                <centertop>74</centertop>
                                <left>0</left>
                                <width>200</width>
                                <height>70</height>
                                <texture fallback="DefaultFolder.png">$INFO[ListItem.Icon]</texture>
                                <aspectratio>keep</aspectratio>
                            </control>

                            <!-- 类型文字 -->
                            <control type="textbox">
                                <left>60</left>
                                <top>40</top>
                                <width>240</width>
                                <height>70</height>
                                <label>$INFO[ListItem.Label]</label>
                                <font>font25_narrow</font>
                                <textcolor>FFFFFFFF</textcolor>
                                <shadowcolor>text_shadow</shadowcolor>
                                <align>center</align>
                                <aligny>center</aligny>
                            </control>
                        </control>
                    </focusedlayout>

                    <!-- 内容项 -->
                    <content>
                        <item id="6001">
                            <label>$ADDON[plugin.video.filteredmovies 32147]</label>
                            <icon>DefaultMusicSearch.png</icon>
                            <onclick>RunScript(plugin.video.filteredmovies,mode=launch_search_movie)</onclick>
                        </item>
                        <item id="6002">
                            <label>$ADDON[plugin.video.filteredmovies 32148]</label>
                            <icon>DefaultProgram.png</icon>
                            <onclick>RunScript(plugin.video.filteredmovies,mode=launch_all_movie)</onclick>
                        </item>
                        <item id="6003">
                            <label>$ADDON[plugin.video.filteredmovies 32149]</label>
                            <icon>DefaultPlaylist.png</icon>
                            <onclick>RunAddon(script.ai.movie.scanner)</onclick>
                        </item>
                        <item id="6004">
                            <label>$ADDON[plugin.video.filteredmovies 32150]</label>
                            <icon>DefaultAddonService.png</icon>
                            <onclick>Addon.OpenSettings(plugin.video.filteredmovies)</onclick>
                        </item>
                    </content>
                </control>
            </control>
            <!-- 继续观看标题 -->
            <control type="group" id="801">
                <control type="label">
                    <left>50</left>
                    <top>180</top>
                    <width>900</width>
                    <height>40</height>
                    <font>font13_title</font>
                    <textcolor>FFFFFFFF</textcolor>
                    <label>$ADDON[plugin.video.filteredmovies 32151]</label>
                </control>
        
                <control type="list" id="1002">
                    <!-- 【关键】设置为横向滚动 -->
                    <orientation>horizontal</orientation>
        
                    <!-- 位置和尺寸 -->
                    <left>30</left>
                    <top>240</top>
                    <width>1800</width>
                    <height>520</height>
        
                    <!-- 导航 -->
                    <ondown>1003</ondown>  <!-- 向下到主海报墙 -->
                    <onup>1001</onup>      <!-- 循环到自己 -->
        
                    <!-- ==================== 未选中布局 ==================== -->
                    <!-- 每个海报宽度 310，高度 520 -->
                    
                    <itemlayout width="310" height="520">
                        <control type="group">
                            <width>310</width>
                            <height>520</height>
                            <!-- 方角海报 -->
        
                            <control type="image">
                                <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                <left>10</left>
                                <top>0</top>
                                <width>290</width>
                                <height>435</height>
                                <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                <aspectratio>scale</aspectratio>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 已观看图标 -->
                            <control type="image">
                                <left>208</left>
                                <top>378</top>
                                <width>26</width>
                                <height>26</height>
                                <texture>common/rounded_watched.png</texture>
                                <visible>String.IsEqual(Window(Home).Property(MFG.UseRounded),true) + Integer.IsGreater(ListItem.PlayCount,0) + !Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </itemlayout>
        
                    <!-- ==================== 选中布局 ==================== -->
                    <!-- 选中时放大到 110% -->
                    <focusedlayout width="310" height="520">
                        <control type="group">
                            <depth>DepthContentPopout</depth>
                            <width>310</width>
                            <height>520</height>
        
                            <!-- 焦点动画：放大 -->
                            <animation type="Focus">
                                <effect type="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
                            <animation type="Unfocus">
                                <effect type="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
        
                            <control type="group">
        
                                <!-- 方角版本 -->
                                <control type="group">
                                    <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                    <control type="image">
                                        <animation type="Unfocus">
                                            <effect type="fade" start="100" end="0" time="0" />
                                        </animation>
                                        <left>6</left>
                                        <top>-4</top>
                                        <width>298</width>
                                        <height>443</height>
                                        <texture colordiffuse="$INFO[Window(Home).Property(MFG.FocusColor)]">colors/fm_white.png</texture>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                    
                                    <control type="image">
                                        <left>10</left>
                                        <top>0</top>
                                        <width>290</width>
                                        <height>435</height>
                                        <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                        <aspectratio>scale</aspectratio>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                </control>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </focusedlayout>
        
                    <!-- ==================== 内容源 ==================== -->
                    <!-- 来自插件的"继续观看"接口 -->
                    <content>plugin://plugin.video.filteredmovies/?mode=get_continue_watching&amp;limit=30</content>
        
                    <!-- 滚动时间 -->
                    <scrolltime>200</scrolltime>
        
                    <!-- 点击行为 -->
                    <onclick condition="String.IsEqual(ListItem.DBType,tvshow)">ActivateWindow(videos,videodb://tvshows/titles/$INFO[ListItem.DBID]/,return)</onclick>
                    <onclick condition="String.IsEqual(ListItem.DBType,set)">ActivateWindow(videos,videodb://movies/sets/$INFO[ListItem.DBID]/,return)</onclick>
                </control>
        </control>


            <!-- 顶部筛选条整体 group - 改为卡片式布局 -->
            <control type="group" id="802">
                <left>30</left>
                <top>760</top>
                <width>1820</width>
                <height>200</height>

                <!-- 横向卡片式面板 -->
                <control type="panel" id="1003">
                    <left>0</left>
                    <top>0</top>
                    <width>1820</width>
                    <height>200</height>
                    <orientation>horizontal</orientation>
                    <scrolltime tween="cubic" easing="out">500</scrolltime>
                    <onup>1002</onup>
                    <ondown>1004</ondown>
                    <preloaditems>2</preloaditems>

                    <!-- ========== 普通状态布局 ========== -->
                    <itemlayout width="310" height="340">
                        <control type="group">
                            <left>0</left>

                            <!-- 背景卡片 -->
                            <control type="image">
                                <width>316</width>
                                <height>200</height>
                                <texture>dialogs/dialog-bg-nobo.png</texture>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>

                            <!-- 类型图标 -->
                            <control type="image">
                                <centertop>74</centertop>
                                <left>58</left>
                                <width>200</width>
                                <height>120</height>
                                <texture fallback="DefaultFolder.png">$INFO[ListItem.Icon]</texture>
                                <aspectratio>keep</aspectratio>
                            </control>

                            <!-- 类型文字 -->
                            <control type="textbox">
                                <left>38</left>
                                <top>106</top>
                                <width>240</width>
                                <height>70</height>
                                <label>$INFO[ListItem.Label]</label>
                                <font>font25_narrow</font>
                                <textcolor>FFFFFFFF</textcolor>
                                <shadowcolor>text_shadow</shadowcolor>
                                <align>center</align>
                                <aligny>center</aligny>
                            </control>
                        </control>
                    </itemlayout>

                    <!-- ========== 焦点状态布局 ========== -->
                    <focusedlayout width="310" height="340">
                        <control type="group">
                            <depth>DepthContentPopout</depth>
                            <left>0</left>

                            <!-- 焦点动画：放大到115% -->
                            <animation type="Focus">
                                <effect type="zoom" start="100" end="115" time="200" tween="sine" easing="inout" center="228,70" />
                            </animation>
                            <animation type="Unfocus">
                                <effect type="zoom" start="115" end="100" time="200" tween="sine" easing="inout" center="228,70" />
                            </animation>

                            <!-- 背景卡片 -->
                            <control type="image">
                                <width>316</width>
                                <height>200</height>
                                <texture colordiffuse="33FFFFFF">colors/fm_white.png</texture>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>

                            <!-- 焦点高亮层 -->
                            <control type="image">
                                <width>316</width>
                                <height>200</height>
                                <texture colordiffuse="button_focus">colors/grey.png</texture>
                                <bordersize>20</bordersize>
                                <animation effect="fade" start="0" end="100" time="200">Focus</animation>
                                <animation effect="fade" start="100" end="0" time="200">Unfocus</animation>
                            </control>

                            <!-- 类型图标 -->
                            <control type="image">
                                <centertop>74</centertop>
                                <left>58</left>
                                <width>200</width>
                                <height>120</height>
                                <texture fallback="DefaultFolder.png">$INFO[ListItem.Icon]</texture>
                                <aspectratio>keep</aspectratio>
                            </control>

                            <!-- 类型文字 -->
                            <control type="textbox">
                                <left>38</left>
                                <top>106</top>
                                <width>240</width>
                                <height>70</height>
                                <label>$INFO[ListItem.Label]</label>
                                <font>font25_narrow</font>
                                <textcolor>FFFFFFFF</textcolor>
                                <shadowcolor>text_shadow</shadowcolor>
                                <align>center</align>
                                <aligny>center</aligny>
                            </control>
                        </control>
                    </focusedlayout>

                    <!-- 内容项 -->
                    <content>
                        <item id="6001">
                            <label>$ADDON[plugin.video.filteredmovies 32152]</label>
                            <icon>DefaultFolder.png</icon>
                            <onclick>RunScript(plugin.video.filteredmovies,mode=launch_all_movie)</onclick>
                        </item>
                        <item id="6002">
                            <label>$ADDON[plugin.video.filteredmovies 32153]</label>
                            <onclick>RunScript(plugin.video.filteredmovies,?mode=launch_mediatype_view&amp;mediatype=movie)</onclick>
                            <icon>DefaultAddonVideo.png</icon>
                            <onclick>SetProperty(Return_1013,6002,Home)</onclick>
                        </item>
                        <item id="6003">
                            <label>$ADDON[plugin.video.filteredmovies 32154]</label>
                            <onclick>RunScript(plugin.video.filteredmovies,?mode=launch_mediatype_view&amp;mediatype=set)</onclick>
                            <icon>DefaultSets.png</icon>
                        </item>
                        <item id="6004">
                            <label>$ADDON[plugin.video.filteredmovies 32155]</label>
                            <onclick>RunScript(plugin.video.filteredmovies,?mode=launch_mediatype_view&amp;mediatype=tvshow)</onclick>
                            <icon>DefaultAddonPVRClient.png</icon>
                        </item>
                        <item id="6005">
                            <label>$ADDON[plugin.video.filteredmovies 32156]</label>
                            <onclick>RunScript(plugin.video.filteredmovies,?mode=launch_mediatype_view&amp;mediatype=concert)</onclick>
                            <icon>DefaultPartyMode.png</icon>
                        </item>
                        <item id="6006">
                            <label>$ADDON[plugin.video.filteredmovies 32157]</label>
                            <onclick>RunScript(plugin.video.filteredmovies,?mode=launch_mediatype_view&amp;mediatype=documentary)</onclick>
                            <icon>DefaultAddonAudioDecoder.png</icon>
                        </item>
                    </content>
                </control>
            </control>

            <!-- 最近加入电影列表 -->
            <control type="group" id="803">
                <control type="label">
                        <left>50</left>
                        <top>980</top>
                        <width>900</width>
                        <height>40</height>
                        <font>font13_title</font>
                        <textcolor>FFFFFFFF</textcolor>
                        <label>$ADDON[plugin.video.filteredmovies 32158]</label>
                </control>
                <control type="list" id="1004">
                    <!-- 【关键】设置为横向滚动 -->
                    <orientation>horizontal</orientation>
        
                    <!-- 位置和尺寸 -->
                    <left>30</left>
                    <top>1040</top>
                    <width>1800</width>
                    <height>520</height>
        
                    <!-- 导航 -->
                    <ondown>1005</ondown>  <!-- 向下到主海报墙 -->
                    <onup>1003</onup>      <!-- 循环到自己 -->
        
                    <!-- ==================== 未选中布局 ==================== -->
                    <!-- 每个海报宽度 310，高度 520 -->
                    <!-- ==================== "继续观看"标题 ==================== -->
                    
                    <itemlayout width="310" height="520">
                        <control type="group">
                            <width>310</width>
                            <height>520</height>
                            <!-- 方角海报 -->
        
                            <control type="image">
                                <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                <left>10</left>
                                <top>0</top>
                                <width>290</width>
                                <height>435</height>
                                <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                <aspectratio>scale</aspectratio>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 已观看图标 -->
                            <control type="image">
                                <left>208</left>
                                <top>378</top>
                                <width>26</width>
                                <height>26</height>
                                <texture>common/rounded_watched.png</texture>
                                <visible>String.IsEqual(Window(Home).Property(MFG.UseRounded),true) + Integer.IsGreater(ListItem.PlayCount,0) + !Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </itemlayout>
        
                    <!-- ==================== 选中布局 ==================== -->
                    <!-- 选中时放大到 110% -->
                    <focusedlayout width="310" height="520">
                        <control type="group">
                            <depth>DepthContentPopout</depth>
                            <width>310</width>
                            <height>520</height>
        
                            <!-- 焦点动画：放大 -->
                            <animation type="Focus">
                                <effect type="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
                            <animation type="Unfocus">
                                <effect type="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
        
                            <control type="group">
        
                                <!-- 方角版本 -->
                                <control type="group">
                                    <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                    <control type="image">
                                        <animation type="Unfocus">
                                            <effect type="fade" start="100" end="0" time="0" />
                                        </animation>
                                        <left>6</left>
                                        <top>-4</top>
                                        <width>298</width>
                                        <height>443</height>
                                        <texture colordiffuse="$INFO[Window(Home).Property(MFG.FocusColor)]">colors/fm_white.png</texture>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                    
                                    <control type="image">
                                        <left>10</left>
                                        <top>0</top>
                                        <width>290</width>
                                        <height>435</height>
                                        <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                        <aspectratio>scale</aspectratio>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                </control>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </focusedlayout>
        
                    <!-- ==================== 内容源 ==================== -->
                    <!-- 调用插件接口获取最近加入的10部影片 -->
                    <onclick condition="String.IsEqual(ListItem.DBType,movie)">Action(Info)</onclick>
                    <content>plugin://plugin.video.filteredmovies/?mode=get_recently_added_movies&amp;limit=10</content>
        
                    <!-- 滚动时间 -->
                    <scrolltime>200</scrolltime>
        
                    <!-- 点击行为 -->
                    <onclick condition="String.IsEqual(ListItem.DBType,tvshow)">ActivateWindow(videos,videodb://tvshows/titles/$INFO[ListItem.DBID]/,return)</onclick>
                    <onclick condition="String.IsEqual(ListItem.DBType,set)">ActivateWindow(videos,videodb://movies/sets/$INFO[ListItem.DBID]/,return)</onclick>
                </control>
            </control>  

            <!-- 最近加入电视剧列表 -->
            <control type="group" id="804">
                <control type="label">
                        <left>50</left>
                        <top>1580</top>
                        <width>900</width>
                        <height>40</height>
                        <font>font13_title</font>
                        <textcolor>FFFFFFFF</textcolor>
                        <label>$ADDON[plugin.video.filteredmovies 32159]</label>
                </control>
                <control type="list" id="1005">
                    <!-- 【关键】设置为横向滚动 -->
                    <orientation>horizontal</orientation>
        
                    <!-- 位置和尺寸 -->
                    <left>30</left>
                    <top>1640</top>
                    <width>1800</width>
                    <height>520</height>
        
                    <!-- 导航 -->
                    <ondown>1006</ondown>  <!-- 向下到主海报墙 -->
                    <onup>1004</onup>      <!-- 循环到自己 -->
        
                    <!-- ==================== 未选中布局 ==================== -->
                    <!-- 每个海报宽度 310，高度 520 -->
                    <!-- ==================== "继续观看"标题 ==================== -->
                    
                    <itemlayout width="310" height="520">
                        <control type="group">
                            <width>310</width>
                            <height>520</height>
                            <!-- 方角海报 -->
        
                            <control type="image">
                                <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                <left>10</left>
                                <top>0</top>
                                <width>290</width>
                                <height>435</height>
                                <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                <aspectratio>scale</aspectratio>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 已观看图标 -->
                            <control type="image">
                                <left>208</left>
                                <top>378</top>
                                <width>26</width>
                                <height>26</height>
                                <texture>common/rounded_watched.png</texture>
                                <visible>String.IsEqual(Window(Home).Property(MFG.UseRounded),true) + Integer.IsGreater(ListItem.PlayCount,0) + !Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </itemlayout>
        
                    <!-- ==================== 选中布局 ==================== -->
                    <!-- 选中时放大到 110% -->
                    <focusedlayout width="310" height="520">
                        <control type="group">
                            <depth>DepthContentPopout</depth>
                            <width>310</width>
                            <height>520</height>
        
                            <!-- 焦点动画：放大 -->
                            <animation type="Focus">
                                <effect type="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
                            <animation type="Unfocus">
                                <effect type="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
        
                            <control type="group">
        
                                <!-- 方角版本 -->
                                <control type="group">
                                    <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                    <control type="image">
                                        <animation type="Unfocus">
                                            <effect type="fade" start="100" end="0" time="0" />
                                        </animation>
                                        <left>6</left>
                                        <top>-4</top>
                                        <width>298</width>
                                        <height>443</height>
                                        <texture colordiffuse="$INFO[Window(Home).Property(MFG.FocusColor)]">colors/fm_white.png</texture>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                    
                                    <control type="image">
                                        <left>10</left>
                                        <top>0</top>
                                        <width>290</width>
                                        <height>435</height>
                                        <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                        <aspectratio>scale</aspectratio>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                </control>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </focusedlayout>
        
                    <!-- ==================== 内容源 ==================== -->
                    <!-- 调用插件接口获取最近加入的10部影片 -->
                    <content>plugin://plugin.video.filteredmovies/?mode=get_recently_added_tvshows&amp;limit=10</content>
        
                    <!-- 滚动时间 -->
                    <scrolltime>200</scrolltime>
        
                    <!-- 点击行为 -->
                    <onclick condition="String.IsEqual(ListItem.DBType,tvshow)">ActivateWindow(videos,videodb://tvshows/titles/$INFO[ListItem.DBID]/,return)</onclick>
                    <onclick condition="String.IsEqual(ListItem.DBType,set)">ActivateWindow(videos,videodb://movies/sets/$INFO[ListItem.DBID]/,return)</onclick>
                </control>
            </control> 

            <!-- 最近加入演唱会列表 -->
            <control type="group" id="805">
                <control type="label">
                        <left>50</left>
                        <top>2180</top>
                        <width>900</width>
                        <height>40</height>
                        <font>font13_title</font>
                        <textcolor>FFFFFFFF</textcolor>
                        <label>$ADDON[plugin.video.filteredmovies 32160]</label>
                </control>
                <control type="list" id="1006">
                    <!-- 【关键】设置为横向滚动 -->
                    <orientation>horizontal</orientation>
        
                    <!-- 位置和尺寸 -->
                    <left>30</left>
                    <top>2240</top>
                    <width>1800</width>
                    <height>520</height>
        
                    <!-- 导航 -->
                    <ondown>1007</ondown>  <!-- 向下到主海报墙 -->
                    <onup>1005</onup>      <!-- 循环到自己 -->
        
                    <!-- ==================== 未选中布局 ==================== -->
                    <!-- 每个海报宽度 310，高度 520 -->
                    <!-- ==================== "继续观看"标题 ==================== -->
                    
                    <itemlayout width="310" height="520">
                        <control type="group">
                            <width>310</width>
                            <height>520</height>
                            <!-- 方角海报 -->
        
                            <control type="image">
                                <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                <left>10</left>
                                <top>0</top>
                                <width>290</width>
                                <height>435</height>
                                <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                <aspectratio>scale</aspectratio>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 已观看图标 -->
                            <control type="image">
                                <left>208</left>
                                <top>378</top>
                                <width>26</width>
                                <height>26</height>
                                <texture>common/rounded_watched.png</texture>
                                <visible>String.IsEqual(Window(Home).Property(MFG.UseRounded),true) + Integer.IsGreater(ListItem.PlayCount,0) + !Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </itemlayout>
        
                    <!-- ==================== 选中布局 ==================== -->
                    <!-- 选中时放大到 110% -->
                    <focusedlayout width="310" height="520">
                        <control type="group">
                            <depth>DepthContentPopout</depth>
                            <width>310</width>
                            <height>520</height>
        
                            <!-- 焦点动画：放大 -->
                            <animation type="Focus">
                                <effect type="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
                            <animation type="Unfocus">
                                <effect type="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
        
                            <control type="group">
        
                                <!-- 方角版本 -->
                                <control type="group">
                                    <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                    <control type="image">
                                        <animation type="Unfocus">
                                            <effect type="fade" start="100" end="0" time="0" />
                                        </animation>
                                        <left>6</left>
                                        <top>-4</top>
                                        <width>298</width>
                                        <height>443</height>
                                        <texture colordiffuse="$INFO[Window(Home).Property(MFG.FocusColor)]">colors/fm_white.png</texture>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                    
                                    <control type="image">
                                        <left>10</left>
                                        <top>0</top>
                                        <width>290</width>
                                        <height>435</height>
                                        <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                        <aspectratio>scale</aspectratio>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                </control>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </focusedlayout>
        
                    <!-- ==================== 内容源 ==================== -->
                    <!-- 调用插件接口获取最近加入的10部影片 -->
                    
                    <content>plugin://plugin.video.filteredmovies/?mode=get_recently_added_concerts&amp;limit=10</content>
        
                    <!-- 滚动时间 -->
                    <scrolltime>200</scrolltime>
        
                    <!-- 点击行为 -->
                    <onclick condition="String.IsEqual(ListItem.DBType,movie)">Action(Info)</onclick>
                    <onclick condition="String.IsEqual(ListItem.DBType,set)">ActivateWindow(videos,videodb://movies/sets/$INFO[ListItem.DBID]/,return)</onclick>
                </control>
            </control>

            <!-- 最近加入纪录片列表 -->
            <control type="group" id="806">
                <control type="label">
                        <left>50</left>
                        <top>2780</top>
                        <width>900</width>
                        <height>40</height>
                        <font>font13_title</font>
                        <textcolor>FFFFFFFF</textcolor>
                        <label>$ADDON[plugin.video.filteredmovies 32161]</label>
                </control>
                <control type="list" id="1007">
                    <!-- 【关键】设置为横向滚动 -->
                    <orientation>horizontal</orientation>
        
                    <!-- 位置和尺寸 -->
                    <left>30</left>
                    <top>2840</top>
                    <width>1800</width>
                    <height>520</height>
        
                    <!-- 导航 -->
                    <ondown>1008</ondown>  <!-- 向下到主海报墙 -->
                    <onup>1006</onup>      <!-- 循环到自己 -->
        
                    <!-- ==================== 未选中布局 ==================== -->
                    <!-- 每个海报宽度 310，高度 520 -->
                    <!-- ==================== "继续观看"标题 ==================== -->
                    
                    <itemlayout width="310" height="520">
                        <control type="group">
                            <width>310</width>
                            <height>520</height>
                            <!-- 方角海报 -->
        
                            <control type="image">
                                <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                <left>10</left>
                                <top>0</top>
                                <width>290</width>
                                <height>435</height>
                                <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                <aspectratio>scale</aspectratio>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 已观看图标 -->
                            <control type="image">
                                <left>208</left>
                                <top>378</top>
                                <width>26</width>
                                <height>26</height>
                                <texture>common/rounded_watched.png</texture>
                                <visible>String.IsEqual(Window(Home).Property(MFG.UseRounded),true) + Integer.IsGreater(ListItem.PlayCount,0) + !Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </itemlayout>
        
                    <!-- ==================== 选中布局 ==================== -->
                    <!-- 选中时放大到 110% -->
                    <focusedlayout width="310" height="520">
                        <control type="group">
                            <depth>DepthContentPopout</depth>
                            <width>310</width>
                            <height>520</height>
        
                            <!-- 焦点动画：放大 -->
                            <animation type="Focus">
                                <effect type="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
                            <animation type="Unfocus">
                                <effect type="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
        
                            <control type="group">
        
                                <!-- 方角版本 -->
                                <control type="group">
                                    <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                    <control type="image">
                                        <animation type="Unfocus">
                                            <effect type="fade" start="100" end="0" time="0" />
                                        </animation>
                                        <left>6</left>
                                        <top>-4</top>
                                        <width>298</width>
                                        <height>443</height>
                                        <texture colordiffuse="$INFO[Window(Home).Property(MFG.FocusColor)]">colors/fm_white.png</texture>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                    
                                    <control type="image">
                                        <left>10</left>
                                        <top>0</top>
                                        <width>290</width>
                                        <height>435</height>
                                        <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                        <aspectratio>scale</aspectratio>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                </control>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </focusedlayout>
        
                    <!-- ==================== 内容源 ==================== -->
                    <!-- 调用插件接口获取最近加入的10部影片 -->
                    <content>plugin://plugin.video.filteredmovies/?mode=get_recently_added_documentaries&amp;limit=10</content>
        
                    <!-- 滚动时间 -->
                    <scrolltime>200</scrolltime>
        
                    <!-- 点击行为 -->
                    <onclick condition="String.IsEqual(ListItem.DBType,tvshow)">ActivateWindow(videos,videodb://tvshows/titles/$INFO[ListItem.DBID]/,return)</onclick>
                    <onclick condition="String.IsEqual(ListItem.DBType,set)">ActivateWindow(videos,videodb://movies/sets/$INFO[ListItem.DBID]/,return)</onclick>
                </control>
            </control>

            <!-- 最近加入电影集列表 -->
            <control type="group" id="807">
                <control type="label">
                        <left>50</left>
                        <top>3380</top>
                        <width>900</width>
                        <height>40</height>
                        <font>font13_title</font>
                        <textcolor>FFFFFFFF</textcolor>
                        <label>$ADDON[plugin.video.filteredmovies 32162]</label>
                </control>
                <control type="list" id="1008">
                    <!-- 【关键】设置为横向滚动 -->
                    <orientation>horizontal</orientation>
        
                    <!-- 位置和尺寸 -->
                    <left>30</left>
                    <top>3440</top>
                    <width>1800</width>
                    <height>520</height>
        
                    <!-- 导航 -->
                    <ondown>1001</ondown>  <!-- 向下到主海报墙 -->
                    <onup>1007</onup>      <!-- 循环到自己 -->
        
                    <!-- ==================== 未选中布局 ==================== -->
                    <!-- 每个海报宽度 310，高度 520 -->
                    <!-- ==================== "继续观看"标题 ==================== -->
                    
                    <itemlayout width="310" height="520">
                        <control type="group">
                            <width>310</width>
                            <height>520</height>
                            <!-- 方角海报 -->
        
                            <control type="image">
                                <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                <left>10</left>
                                <top>0</top>
                                <width>290</width>
                                <height>435</height>
                                <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                <aspectratio>scale</aspectratio>
                                <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                <bordersize>20</bordersize>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 已观看图标 -->
                            <control type="image">
                                <left>208</left>
                                <top>378</top>
                                <width>26</width>
                                <height>26</height>
                                <texture>common/rounded_watched.png</texture>
                                <visible>String.IsEqual(Window(Home).Property(MFG.UseRounded),true) + Integer.IsGreater(ListItem.PlayCount,0) + !Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </itemlayout>
        
                    <!-- ==================== 选中布局 ==================== -->
                    <!-- 选中时放大到 110% -->
                    <focusedlayout width="310" height="520">
                        <control type="group">
                            <depth>DepthContentPopout</depth>
                            <width>310</width>
                            <height>520</height>
        
                            <!-- 焦点动画：放大 -->
                            <animation type="Focus">
                                <effect type="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
                            <animation type="Unfocus">
                                <effect type="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="155,260" />
                            </animation>
        
                            <control type="group">
        
                                <!-- 方角版本 -->
                                <control type="group">
                                    <visible>!String.IsEqual(Window(Home).Property(MFG.UseRounded),true)</visible>
                                    <control type="image">
                                        <animation type="Unfocus">
                                            <effect type="fade" start="100" end="0" time="0" />
                                        </animation>
                                        <left>6</left>
                                        <top>-4</top>
                                        <width>298</width>
                                        <height>443</height>
                                        <texture colordiffuse="$INFO[Window(Home).Property(MFG.FocusColor)]">colors/fm_white.png</texture>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                    
                                    <control type="image">
                                        <left>10</left>
                                        <top>0</top>
                                        <width>290</width>
                                        <height>435</height>
                                        <texture fallback="DefaultVideoCover.png">$INFO[ListItem.Art(thumb)]</texture>
                                        <aspectratio>scale</aspectratio>
                                        <bordertexture border="21" infill="false">overlays/fm_shadow.png</bordertexture>
                                        <bordersize>20</bordersize>
                                    </control>
                                </control>
                            </control>
        
                            <!-- 观看进度条 -->
                            <control type="progress">
                                <visible>Integer.IsGreater(ListItem.Property(SkinPercentPlayed),0)</visible>
                                <left>30</left>
                                <top>410</top>
                                <width>250</width>
                                <height>5</height>
                                <info>ListItem.Property(SkinPercentPlayed)</info>
                                <texturebg colordiffuse="20FFFFFF">colors/fm_white.png</texturebg>
                                <lefttexture></lefttexture>
                                <midtexture colordiffuse="$INFO[Window(Home).Property(MFG.ProgressBarColor)]">colors/fm_white.png</midtexture>
                                <righttexture></righttexture>
                            </control>
        
                            <!-- 评分 -->
                            <control type="label">
                                <left>13</left>
                                <top>370</top>
                                <width>260</width>
                                <height>40</height>
                                <align>right</align>
                                <aligny>center</aligny>
                                <font>font12</font>
                                <label>$INFO[ListItem.Rating]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <visible>!String.IsEmpty(ListItem.Rating)</visible>
                            </control>
        
                            <!-- 媒体类型图标 -->
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/film.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,set)</visible>
                            </control>
                            <control type="image">
                                <left>30</left>
                                <top>372</top>
                                <width>40</width>
                                <height>40</height>
                                <texture>common/tv.png</texture>
                                <visible>String.IsEqual(ListItem.DBType,tvshow)</visible>
                            </control>
        
                            <!-- 标题 -->
                            <control type="label">
                                <left>0</left>
                                <top>445</top>
                                <width>310</width>
                                <height>35</height>
                                <align>center</align>
                                <aligny>top</aligny>
                                <font>font13</font>
                                <label>$INFO[ListItem.Label]</label>
                                <textcolor>FFFFFFFF</textcolor>
                                <scroll>false</scroll>
                            </control>
        
                            <!-- 年份 -->
                            <control type="label">
                                <left>0</left>
                                <top>480</top>
                                <width>310</width>
                                <height>25</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>font10</font>
                                <textcolor>FFCCCCCC</textcolor>
                                <label>$INFO[ListItem.Year]</label>
                                <visible>!String.IsEmpty(ListItem.Year)</visible>
                            </control>
                        </control>
                    </focusedlayout>
        
                    <!-- ==================== 内容源 ==================== -->
                    <!-- 调用插件接口获取最近加入的10部影片 -->
                    <content>plugin://plugin.video.filteredmovies/?mode=get_recently_added_sets&amp;limit=10</content>
        
                    <!-- 滚动时间 -->
                    <scrolltime>200</scrolltime>
        
                    <!-- 点击行为 -->
                    <onclick condition="String.IsEqual(ListItem.DBType,tvshow)">ActivateWindow(videos,videodb://tvshows/titles/$INFO[ListItem.DBID]/,return)</onclick>
                    <onclick condition="String.IsEqual(ListItem.DBType,set)">ActivateWindow(videos,videodb://movies/sets/$INFO[ListItem.DBID]/,return)</onclick>
                </control>
            </control>
            <!-- 焦点转发器 -->
            <control type="button" id="9997">
                <left>-1000</left>
                <top>-1000</top>
                <width>1</width>
                <height>1</height>
                <label></label>
                <onfocus>SetFocus(6050,10)</onfocus>
            </control>
            <!-- 隐藏的跳转逻辑按钮 -->
            <control type="button" id="9998">
                <left>-1000</left>
                <top>-1000</top>
                <width>1</width>
                <height>1</height>
                <label></label>
                <onfocus condition="Integer.IsEqual(Container(9999).CurrentItem,1)">SetFocus(9997)</onfocus>
                <onfocus condition="Integer.IsEqual(Container(9999).CurrentItem,2)">SetFocus(5002)</onfocus>
                <onfocus condition="Integer.IsEqual(Container(9999).CurrentItem,3)">SetFocus(5005)</onfocus>
                <onfocus>SetFocus(1005)</onfocus>
            </control>
            <control type="button" id="9000">
                <left>-1000</left>
                <top>-1000</top>
                <width>1</width>
                <height>1</height>
                <label></label>
                <onfocus condition="Integer.IsEqual(Container(6050).CurrentItem,6)">SetFocus($INFO[Window(Home).Property(Return_Key6)])</onfocus>
                <onfocus condition="Integer.IsEqual(Container(6050).CurrentItem,12)">SetFocus($INFO[Window(Home).Property(Return_KeyClr)])</onfocus>
                <onfocus condition="Integer.IsEqual(Container(6050).CurrentItem,3)">SetFocus(1013)</onfocus>
                <onfocus condition="Integer.IsEqual(Container(6050).CurrentItem,9)">SetFocus(3001)</onfocus>
            </control>
        </control>
    </controls>
</window>
