Posts: 9
Joined: Jul 2012
Reputation:
0
2015-04-12, 03:38
(This post was last modified: 2015-04-12, 06:35 by mortyBox.)
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.
Posts: 124
Joined: Jul 2010
Reputation:
0
Edit your advancedsettings.xml and add this:-
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<recentlyaddeditems>20</recentlyaddeditems>
</videolibrary>
Posts: 485
Joined: Oct 2009
(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.
Posts: 485
Joined: Oct 2009
2015-04-27, 05:18
(This post was last modified: 2015-04-27, 06:27 by User 55003.)
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.
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&reload=$INFO[Window.Property(recentmovies)]</content>
TVSHOWS..
<content target="video">plugin://service.library.data.provider?type=recentepisodes&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
Posts: 9
Joined: Jul 2012
Reputation:
0
2015-04-28, 04:54
(This post was last modified: 2015-04-28, 05:08 by mortyBox.)
Thank you VERY much.... Aboslutely Moth*r *ucking PERFECT!
Used the 'service.skin.widgets' method...
Thanks again.
Posts: 54
Joined: Jan 2012
Reputation:
0
please can upload a screen shot for see how they look it? thx
Posts: 15
Joined: Jun 2013
Reputation:
0
Could you please elaborate on how you got this working? Did you edit the IncludesHomeRecentlyAdded.xml file to only "1"?
Thanks!
Posts: 1
Joined: May 2018
Reputation:
0
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.