Number of movies in library
#3
Thanks! It works. I'm only having a slight problem were, because of the way I have home.xml setup, the line is written on <focusedlayout>. I have two items on home, "Movies", and "TV Shows". So when I focus the "Movies" item, the number is displayed correctly, but when it's on TV Shows, it still obviously displays Movies.Count instead of TVShows.Count, because that's what the line says. Do you think there's a simple workaround for this? Something that can place the $INFO[Window(Home).Property(LABEL.Count),, available] it's meant to retrieve.

 
XML:
               <itemlayout height="540" width="1920">
                        <control type="label">
                            <left>230</left>
                            <width>600</width>
                            <height>150</height>
                            <font>Bold77</font>
                            <textcolor>80CFCFCF</textcolor>
                            <selectedcolor>80CFCFCF</selectedcolor>
                            <label>$INFO[ListItem.Label]</label>
                        </control>
                        <control type="label">
                            <top>90</top>
                            <left>270</left>
                            <font>Reg30</font>
                            <textcolor>80CFCFCF</textcolor>
                            <label>$INFO[Window(Home).Property(TVShows.Count),, available]</label>
                        </control>
                </itemlayout>
                <focusedlayout height="540" width="1920">
                        <control type="group">
                            <animation effect="zoom" time="120" start="100" end="105" center="auto" tween="Back" easing="Out">Focus</animation>
                                <control type="image">
                                    <top>-350</top>
                                    <aspectratio>keep</aspectratio>
                                    <texture background="true">general/focus_home.png</texture>
                                </control>
                                <control type="label">
                                    <font>Bold77</font>
                                    <left>250</left>
                                    <textcolor>FFFFFFFF</textcolor>
                                    <label>$INFO[ListItem.Label]</label>
                                </control>
                                <control type="label">
                                    <top>90</top>
                                    <left>250</left>
                                    <font>Reg30</font>
                                    <textcolor>FFFFFFFF</textcolor>
                                    <label>$INFO[Window(Home).Property(Movies.Count),, available]</label>
                                </control>
                        </control>
                </focusedlayout>
                <content>
                    <item>
                        <label>Movies</label>
                        <onclick>ActivateWindow(Favourites,return)</onclick>
                    </item>
                    <item>
                        <label>TV Shows</label>
                        <onclick>ActivateWindow(Videos,TvShowTitles,return)</onclick>
                    </item>
                </content>
Reply


Messages In This Thread
Number of movies in library - by firewater - 2020-02-11, 23:41
RE: Number of movies in library - by firewater - 2020-02-12, 04:07
RE: Number of movies in library - by sualfred - 2020-02-12, 14:06
Logout Mark Read Team Forum Stats Members Help
Number of movies in library0