Recently Added Script - More than 3 items - 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: Transparency! (https://forum.kodi.tv/forumdisplay.php?fid=115) +----- Thread: Recently Added Script - More than 3 items (/showthread.php?tid=65691) Pages:
1
2
|
Recently Added Script - More than 3 items - mutenroid - 2010-01-01 Hi Ronie, Excellent work with Transparency. It's an amazing skin and now my favorite A question, how we can modify "RecentlyAdded (home screen)" option to include more than 3 items (movies, tvshows, albums)??, eg: 10 items it's perfect for me. Regards - ronie - 2010-01-01 there's no simple user setting for it, so it would involve adding/modifying a lot of code in Includes_Home.xml here's the parts that need to be altered: <include name="recentlyaddedscript"> - set limt to 10 <include name="recentlyfanartmovies"> <include name="recentlyfanartepisodes"> <include name="recentlyfanartalbums"> - define fanart images for 10 items <include name="RecentlyAddedMovies"> <include name="RecentlyAddedEpisodes"> <include name="RecentlyAddedAlbums"> - define 10 items in the <content> section after making these mods, the recently addes list on the home screen will still show 3 items, but you can scroll through the list to see the other ones. if you want all 10 items to be visible at the same time (larger list), some more code changes will be needed: - adjusting size of the list - reposition the list - adjust size and position of the background image - anything i forgot... - mutenroid - 2010-01-01 thanks ronnie, works perfectly! - colossusr - 2010-01-10 ronie Wrote:there's no simple user setting for it, so it would involve adding/modifying a lot of code in Includes_Home.xml Thats nice ... i will try to make this with 10 visible items What file to edit for the list size and position and background image?? can you please piont to the file ?? Thanks Colossus - ronie - 2010-01-10 colossusr Wrote:Thats nice ... that's also in Includes_Home.xml. the image name is gradient.png - colossusr - 2010-01-11 ronie Wrote:that's also in Includes_Home.xml. Thanks for the reply ... I have already mod the Includes_Home.xml adding buttons and functions to my like.... In that file <include name="RecentlyAddedMovies"> <control type="group"> <posx>0</posx> <posy>0</posy> <include>homestatsinfo</include> you are reffering to "homestatsinfo" ... where is this its another module Changing the posx and posy hase no effect on the list ... so i presume that this is done on the homestatsinfo module ? is this right and where is the gradient.png file located ? Thanks in advance for helping colossus - ronie - 2010-01-11 colossusr Wrote:Thanks for the reply ...homestatsinfo refers to: <include name="homestatsinfo"> it's also in Includes_Home.xml and only defines the zoom/fade animation. also check this part in Home.xml: Code: <control type="grouplist" id="5047"> woww - colossusr - 2010-01-11 Thanks alot m8.... the home.xml file editing .....that did the trick... I fixed my home screen with 8 recent items in the movies and tv show now... Thanks alot for the help colossus - jpf55 - 2010-01-11 colossusr Wrote:the home.xml file editing .....that did the trick... Hi could you post a screen shot and your mod code please Thanks - colossusr - 2010-01-11 jpf55 Wrote:Hi could you post a screen shot and your mod code please Here you go .... I hope this is the correct way for photos (never before uploaded a photo to the forum) colossus - thewillum - 2010-01-21 colossusr Wrote:Here you go .... looks great colossusr... would it be possible for you to post your code mods? - jazzyb - 2010-01-21 Thats exactly what i was looking for to colossus - would you mind posting your code please - thewillum - 2010-01-21 Not Working. See below. Any Moderator, please delete this post because I don't know how to. - thewillum - 2010-01-21 OK... NOW I got it. 1. Change includes_Home.xml: http://pastebin.com/f10cdea74. My changes are highlighted. 2. Make this change in Home.xml: Code: <control type="grouplist" id="5047"> I also made the thumbs bigger because I thought they looked awkward with the increased height and no increased width. Finally, I changed the TV Episode thumbs style and put them in the dvd case. I didn't like the screen capture style. I'd like to replace the episode thumbs with season thumbs if it's possible. I haven't figured out how yet though (Is this a change made in RecentlyAdded.py?). If anyone can help me on that one that'd be awesome. If you don't want to change the TV show thumbs then ONLY add the additional <content> items within <include name="RecentlyAddedTVShows">. Code: <item id="4"> The same is also true for <include name="RecentlyAddedMovies"> and <include name="RecentlyAddedAlbums"> if you do not want to resize the thumbs. You'll also have to adjust the positioning of the list and the height of gradient.png if you make these changes to my script. - jazzyb - 2010-01-22 Sorry for being a noob here but will editing the home.xml to this <control type="grouplist" id="5047"> <posx>680</posx> <posy>335</posy> <onright>20</onright> <include condition="!Skin.HasSetting(HomepageRecentMovies)">RecentlyAddedMovies</include> <include condition="!Skin.HasSetting(HomepageRecentTVShows)">RecentlyAddedTVShows</include> <include condition="!Skin.HasSetting(HomepageRecentAlbums)">RecentlyAddedAlbums</include> </control> Give me the result you have shown in the screenshots or Is more involved than that to edit size of thumbs? Thanks |