Kodi Community Forum
Mod Recent list # - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Nebula (https://forum.kodi.tv/forumdisplay.php?fid=211)
+----- Thread: Mod Recent list # (/showthread.php?tid=219581)



Recent list # - wimpy - 2015-02-25

Hi,

how can i change the default value 20 in recently added widget from Home menu? (when I press UP on for example MOVIES and choose Recent)

It does not use the built in <recentlyaddeditems> found in advancedsettings.xml as far as i can tell, but i'd like it to either do that or find where i can change 20 to 100.

Cheers in advance
Wimpy


RE: Recent list # - Tgxcorporation - 2015-02-27

You can add new entries for recent movies editing the "Includes_Shelf_Contents.xml" file - line 287.
Add new "items" to the "RecentMovieContent" include changing the id and numbers accordingly.

Tgx


RE: Recent list # - wimpy - 2015-03-07

Hi and thanks for the reply.

Code:
<item id="20">
            <visible>!IsEmpty(Window(Home).Property(RecentMovie.20.Title))</visible>
            <label>$INFO[Window(Home).Property(RecentMovie.20.Title)]</label>
            <thumb>$INFO[Window(Home).Property(RecentMovie.20.Art(poster))]</thumb>
            <property name="ItemType">$LOCALIZE[31961]</property>
            <property name="Plot">$INFO[Window(home).Property(RecentMovie.20.Plot)]</property>
            <property name="Rating">$INFO[Window(home).Property(RecentMovie.20.Rating)]</property>
            <property name="Year">$INFO[Window(home).Property(RecentMovie.20.Year)]</property>
            <property name="Runtime">$INFO[Window(home).Property(RecentMovie.20.Runtime)]</property>
            <property name="Genre">$INFO[Window(home).Property(RecentMovie.20.Genre)]</property>
            <property name="Mpaa">$INFO[Window(home).Property(RecentMovie.20.MPAA)]</property>
            <property name="VideoCodec">$INFO[Window(home).Property(RecentMovie.20.VideoCodec)]</property>
            <property name="VideoResolution">$INFO[Window(home).Property(RecentMovie.20.VideoResolution)]</property>
            <property name="AudioCodec">$INFO[Window(home).Property(RecentMovie.20.AudioCodec)]</property>
            <property name="AudioChannels">$INFO[Window(home).Property(RecentMovie.20.AudioChannels)]</property>
            <onclick>PlayMedia($ESCINFO[Window(Home).Property(RecentMovie.20.File)])</onclick>
        </item>
        <item id="21">
            <visible>!IsEmpty(Window(Home).Property(RecentMovie.21.Title))</visible>
            <label>$INFO[Window(Home).Property(RecentMovie.21.Title)]</label>
            <thumb>$INFO[Window(Home).Property(RecentMovie.21.Art(poster))]</thumb>
            <property name="ItemType">$LOCALIZE[31961]</property>
            <property name="Plot">$INFO[Window(home).Property(RecentMovie.21.Plot)]</property>
            <property name="Rating">$INFO[Window(home).Property(RecentMovie.21.Rating)]</property>
            <property name="Year">$INFO[Window(home).Property(RecentMovie.21.Year)]</property>
            <property name="Runtime">$INFO[Window(home).Property(RecentMovie.21.Runtime)]</property>
            <property name="Genre">$INFO[Window(home).Property(RecentMovie.21.Genre)]</property>
            <property name="Mpaa">$INFO[Window(home).Property(RecentMovie.21.MPAA)]</property>
            <property name="VideoCodec">$INFO[Window(home).Property(RecentMovie.21.VideoCodec)]</property>
            <property name="VideoResolution">$INFO[Window(home).Property(RecentMovie.21.VideoResolution)]</property>
            <property name="AudioCodec">$INFO[Window(home).Property(RecentMovie.21.AudioCodec)]</property>
            <property name="AudioChannels">$INFO[Window(home).Property(RecentMovie.21.AudioChannels)]</property>
            <onclick>PlayMedia($ESCINFO[Window(Home).Property(RecentMovie.21.File)])</onclick>
        </item>

this shows a new item, but same as #20.. what am i doing wrong?

Edit: now reverted file back the way it was and still shows #21 entries under Movies for some reason.


RE: Recent list # - Tgxcorporation - 2015-03-15

I'm not an expert, but it seems the skin widgets addon has an hardcoded limit of 20 items.
So adding items over 20 will not work.

Thanks

Tgx