Win Increase # of Recently Added Shows and Movies
#1
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.
Reply
#2
bump
Reply
#3
...
Reply
#4
Edit your advancedsettings.xml and add this:-

<videolibrary>
<importwatchedstate>true</importwatchedstate>
<recentlyaddeditems>20</recentlyaddeditems>
</videolibrary>
Reply
#5
(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.
Reply
#6
(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.
Reply
#7
(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....
Reply
#8
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
Reply
#9
Thank you VERY much.... Aboslutely Moth*r *ucking PERFECT!

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

Thanks again.
Reply
#10
please can upload a screen shot for see how they look it? thx
Reply
#11
(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.
Reply
#12
Could you please elaborate on how you got this working?  Did you edit the IncludesHomeRecentlyAdded.xml file to only "1"?  

Thanks!
Reply
#13
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.
Reply
#14
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.
Reply
#15
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
Reply

Logout Mark Read Team Forum Stats Members Help
Increase # of Recently Added Shows and Movies1