Kodi Community Forum
Win Increase # of Recently Added Shows and Movies - 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: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Win Increase # of Recently Added Shows and Movies (/showthread.php?tid=224139)

Pages: 1 2


Increase # of Recently Added Shows and Movies - mortyBox - 2015-04-12

Hello all...

I am trying to increase the number of RECENTLY ADDED Tv Shows and Movies displayed in the main menu. Confluence currently displays 10 items in each category. I was wondering how easy it would be to increase it to 20.

I have some coding experience, so... not a total noob.

**EDIT** Kodi 14.0 stable build for windows 7 SP1.


RE: Increase # of Recently Added Shows and Movies - mortyBox - 2015-04-25

bump


RE: Increase # of Recently Added Shows and Movies - mortyBox - 2015-04-25

...


RE: Increase # of Recently Added Shows and Movies - GregiBoy - 2015-04-26

Edit your advancedsettings.xml and add this:-

<videolibrary>
<importwatchedstate>true</importwatchedstate>
<recentlyaddeditems>20</recentlyaddeditems>
</videolibrary>


RE: Increase # of Recently Added Shows and Movies - mortyBox - 2015-04-27

(2015-04-26, 05:25)GregiBoy Wrote: Edit your advancedsettings.xml and add this:-

<videolibrary>
<importwatchedstate>true</importwatchedstate>
<recentlyaddeditems>20</recentlyaddeditems>
</videolibrary>

Thanks for the reply, but that doesn't work.


RE: Increase # of Recently Added Shows and Movies - User 55003 - 2015-04-27

(2015-04-12, 03:38)mortyBox Wrote: Hello all...

I am trying to increase the number of RECENTLY ADDED Tv Shows and Movies displayed in the main menu. Confluence currently displays 10 items in each category. I was wondering how easy it would be to increase it to 20.

I have some coding experience, so... not a total noob.

**EDIT** Kodi 14.0 stable build for windows 7 SP1.

You will have to edit 'IncludesHomeRecentlyAdded.xml' located in the Confluence 720p folder of the skin. The home recently added widget is hard coded to 10 items so you will need to add more...

PHP Code:
<item>
    <
label>$INFO[Window.Property(LatestMovie.10.Title)]</label>
    <
label2/>
    <
onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.10.Path)])</onclick>
    <
icon>$INFO[Window.Property(LatestMovie.10.Thumb)]</icon>
    <
thumb>-</thumb>
    <
visible>!IsEmpty(Window.Property(LatestMovie.10.Title))</visible>
</
item>
<
item>
    <
label>$INFO[Window.Property(LatestMovie.11.Title)]</label>
    <
label2/>
    <
onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.11.Path)])</onclick>
    <
icon>$INFO[Window.Property(LatestMovie.11.Thumb)]</icon>
    <
thumb>-</thumb>
    <
visible>!IsEmpty(Window.Property(LatestMovie.11.Title))</visible>
</
item>
... 

and so on until you get the required amount.


RE: Increase # of Recently Added Shows and Movies - mortyBox - 2015-04-27

(2015-04-27, 04:14)Steveb Wrote:
(2015-04-12, 03:38)mortyBox Wrote: Hello all...

I am trying to increase the number of RECENTLY ADDED Tv Shows and Movies displayed in the main menu. Confluence currently displays 10 items in each category. I was wondering how easy it would be to increase it to 20.

I have some coding experience, so... not a total noob.

**EDIT** Kodi 14.0 stable build for windows 7 SP1.

You will have to edit 'IncludesHomeRecentlyAdded.xml' located in the Confluence 720p folder of the skin. The home recently added widget is hard coded to 10 items so you will need to add more...

PHP Code:
<item>
    <
label>$INFO[Window.Property(LatestMovie.10.Title)]</label>
    <
label2/>
    <
onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.10.Path)])</onclick>
    <
icon>$INFO[Window.Property(LatestMovie.10.Thumb)]</icon>
    <
thumb>-</thumb>
    <
visible>!IsEmpty(Window.Property(LatestMovie.10.Title))</visible>
</
item>
<
item>
    <
label>$INFO[Window.Property(LatestMovie.11.Title)]</label>
    <
label2/>
    <
onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.11.Path)])</onclick>
    <
icon>$INFO[Window.Property(LatestMovie.11.Thumb)]</icon>
    <
thumb>-</thumb>
    <
visible>!IsEmpty(Window.Property(LatestMovie.11.Title))</visible>
</
item>
... 

and so on until you get the required amount.


Again... thanks for the post, but that doesn't seem to work either.

I have placed the following in advancedsettings.xml

<videolibrary>
<importwatchedstate>true</importwatchedstate>
<recentlyaddeditems>20</recentlyaddeditems>
</videolibrary>


and placed the following in 'IncludesHomeRecentlyAdded.xml' located in the Confluence 720p

<item>
<label>$INFO[Window.Property(LatestMovie.11.Title)]</label>
<label2/>
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.11.Path)])</onclick>
<icon>$INFO[Window.Property(LatestMovie.11.Thumb)]</icon>
<thumb>-</thumb>
<visible>!IsEmpty(Window.Property(LatestMovie.11.Title))</visible>
</item>


and...

<item>
<label>$INFO[Window.Property(LatestEpisode.11.EpisodeTitle)]</label>
<label2>$INFO[Window.Property(LatestEpisode.11.ShowTitle)] - $INFO[Window.Property(LatestEpisode.11.EpisodeNo)]</label2>
<onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.11.Path)])</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(LatestEpisode.11.Thumb)]</thumb>
<visible>!IsEmpty(Window.Property(LatestEpisode.11.EpisodeTitle))</visible>
</item>

Neither of these options change the skin.
I have installed fusion.tvaddons.ag via the setup wizard... I'm wondering if that has something to do with it....


RE: Increase # of Recently Added Shows and Movies - User 55003 - 2015-04-27

Yea sorry, I totally forgot I modded Confluence to use 'service.skin.widgets'

Try changing all the items to match this.

MOVIES..
PHP Code:
<item>
    <
label>$INFO[Window.Property(RecentMovie.1.Title)]</label>
    <
label2/>
    <
onclick>PlayMedia($ESCINFO[Window.Property(RecentMovie.1.File)])</onclick>
    <
icon>$INFO[Window.Property(RecentMovie.1.Art(poster))]</icon>
    <
thumb>-</thumb>
    <
visible>!IsEmpty(Window.Property(RecentMovie.1.Title))</visible>
</
item

TVSHOWS..
PHP Code:
<item>
    <
label>$INFO[Window.Property(RecentEpisode.1.Title)]</label>
    <
label2>$INFO[Window.Property(RecentEpisode.1.TVShowTitle)] - $INFO[Window.Property(RecentEpisode.1.EpisodeNo)]</label2>
    <
onclick>PlayMedia($ESCINFO[Window.Property(RecentEpisode.1.File)])</onclick>
    <
icon>-</icon>
    <
thumb>$INFO[Window.Property(RecentEpisode.1.Art(thumb))]</thumb>
    <
visible>!IsEmpty(Window.Property(RecentEpisode.1.Title))</visible>
</
item

Plus you'll need to install 'service.skin.widgets'
That should work. Smile


Or you could use 'service.library.data.provider' where you replace all the content and items tags for each category with..

MOVIES..
<content target="video">plugin://service.library.data.provider?type=recentmovies&amp;reload=$INFO[Window.Property(recentmovies)]</content>

TVSHOWS..
<content target="video">plugin://service.library.data.provider?type=recentepisodes&amp;reload=$INFO[Window.Property(recentepisodes)]</content>

Personally I prefer 'service.library.data.provider' but that would take a bit more effort on your part to get the labels right for episodes.

Here is a copy of 'IncludesHomeRecentlyAdded.xml' modded for 'service.library.data.provider' IncludesHomeRecentlyAdded.xml


RE: Increase # of Recently Added Shows and Movies - mortyBox - 2015-04-28

Thank you VERY much.... Aboslutely Moth*r *ucking PERFECT!

Used the 'service.skin.widgets' method...

Thanks again.


RE: Increase # of Recently Added Shows and Movies - u2pop - 2015-04-28

please can upload a screen shot for see how they look it? thx


RE: Increase # of Recently Added Shows and Movies - mortyBox - 2015-04-29

(2015-04-28, 23:10)u2pop Wrote: please can upload a screen shot for see how they look it? thx

It looks exactly the same as the default confluence skin... only it scrolls over 20 entries instead of 10.


RE: Increase # of Recently Added Shows and Movies - loopy123 - 2018-02-07

Could you please elaborate on how you got this working?  Did you edit the IncludesHomeRecentlyAdded.xml file to only "1"?  

Thanks!


RE: Increase # of Recently Added Shows and Movies - Quihico - 2018-02-07

Open up IncludesHomeRecentlyAdded.xml and replace everything between the content tags with the appropriate library-node.
So on Kodi helix for movies that would be:
xml:
                    <content>library://video/recentlyaddedmovies.xml/</content>
and on Kodi helix for tvshows:
xml:
                    <content>library://video/recentlyaddedepisodes.xml/</content>
This way your widgets will be filled with the content of that node which has 25 items by default.
You can then change the number of items using the advancedsettings.xml to any number you want.


RE: Increase # of Recently Added Shows and Movies - venkatesanv4 - 2018-05-09

Dear All

Good evening.
I am trying to increase the number of RECENTLY ADDED Movies displayed in the main menu. Confluence currently displays 15 items in each category. I was wondering how easy it would be to increase it to 1000

I dont have coding experience ( please upload videos on youtube )

 Kodi 17.4 stable build for windows 7 SP1.


RE: Increase # of Recently Added Shows and Movies - zebraitis - 2018-06-22

Quote:I am trying to increase the number of RECENTLY ADDED Movies displayed in the main menu.

Easy-Peasy !

In your advancedsettings.xml file (which you may need to create if one does not exist) you need to add the following for Movies, TV and music:
Quote:<!-- Increases # of recently added & imports watched state  -->

   <videolibrary>
 <recentlyaddeditems>100</recentlyaddeditems>
 <importwatchedstate>true</importwatchedstate>
   </videolibrary>

   <musiclibrary>
    <recentlyaddeditems>100</recentlyaddeditems>
   </musiclibrary>

If you need to learn how to create / modify the advancedsettings.xml file, you can find info at  https://kodi.wiki/view/Advancedsettings.xml