Kodi Community Forum
[RELEASE] RecentlyAdded Script (RecentlyAdded.py) Recently Added for Skins / Skinners - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: [RELEASE] RecentlyAdded Script (RecentlyAdded.py) Recently Added for Skins / Skinners (/showthread.php?tid=55907)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


- Hitcher - 2011-01-18

You'll have to edit the skin to how them I'm afraid; it's not simply a case of changing what info the script gets and it gets added.

Look for LatestAdded and add more.


- castortray - 2011-01-19

Hitcher Wrote:You'll have to edit the skin to how them I'm afraid; it's not simply a case of changing what info the script gets and it gets added.

Look for LatestAdded and add more.

good point Smile

I did some changes in IncludesHomeRecentlyAdded.xml in
C:\Users\%username%\AppData\Roaming\XBMC\addons\skin.customizableconfluence\720p
IncludesHomeRecentlyAdded.xml
Now I have 6 lines in Latest Movies and Episodes Big Grin


Image Image

but posters doesn't work when scroll through as scroll the list Sad
also new added movies and episodes changes only the first fourth positions Sad

can you help me pls ?


- Hitcher - 2011-01-19

Here's a quick go at it -

http://pastebin.com/fWheGFMp

This is for 8 items.


- cruzannavy - 2011-01-19

The problem you are having is kinda simple, i was using the original Confluence and got some help from user "filigran" on page 9 of this post. and after messing around with it for a while and getting his help i modified my skin for 15 ( fits nice on my 55" LG tv). then i switched to the customizable confluence to take advantage of some of this skin ides, and i ran into your same problem. when tryign to setup the customizable confluence. after modifying includeshomerecently.xml you have to modify includeshomevertical.xml aswell to include whatever number u want. the script.recentlyadded in that file that is . in my case from 4 to 15. hope u get it working. you got the "home" "startup" and "includeshomerecntly", jsut one more and it should be good to go. if u need more help just drop me a line


- filigran - 2011-01-19

Yeah, as said I already did the same thing for cruzannavy. Post is http://forum.xbmc.org/showpost.php?p=662759&postcount=83 .. should be pretty straightforward. Smile


- castortray - 2011-01-19

cruzannavy Wrote:The problem you are having is kinda simple, i was using the original Confluence and got some help from user "filigran" on page 9 of this post. and after messing around with it for a while and getting his help i modified my skin for 15 ( fits nice on my 55" LG tv). then i switched to the customizable confluence to take advantage of some of this skin ides, and i ran into your same problem. when tryign to setup the customizable confluence. after modifying includeshomerecently.xml you have to modify includeshomevertical.xml aswell to include whatever number u want. the script.recentlyadded in that file that is . in my case from 4 to 15. hope u get it working. you got the "home" "startup" and "includeshomerecntly", jsut one more and it should be good to go. if u need more help just drop me a line

so, I need change also limit=6:

Code:
<onfocus>XBMC.RunScript(script.recentlyadded,limit=4&amp;albums=True&amp;totals=True)</onfocus>

in file includeshomevertical.xml and that's it ?


- ppic - 2011-01-19

no, you need to add some placeholder too


- castortray - 2011-01-19

ok, it's working but movie posters doesn't work when scroll through as scroll the list Sad

Image Image

but it works for tv_shows

my IncludesHomeRecentlyAdded.xml


- Hitcher - 2011-01-19

Check the code I posted on the other page.


- castortray - 2011-01-20

Hitcher Wrote:Check the code I posted on the other page.

your code is not working for confluence customized,
after apply it, "latest movie" disappear Sad


- fr500 - 2011-01-22

Hi

I'm using shade and I have a problem with recently added script. There are recently added items on the home screen but they won't play. I checked the logs and get a lot of these:

XBMC.RunScript(script.recentlyadded,albumid=3)


- Shinu - 2011-01-30

is it possible to have the script run for playlists? example, if i were to make a playist with only HD Movies or a certain genre of TV Shows, can the script show me the latest videos added to the list?


- Malexx - 2011-01-30

edit


- Malexx - 2011-01-31

another noob one.

I tried to get Genre to get listed in Recently Added.
I tried to put this line in the script
# set properties

  • self.WINDOW.setProperty( "LatestMovie.%d.Title" % ( count + 1, ), fields[ 2 ] )
  • self.WINDOW.setProperty( "LatestMovie.%d.Rating" % ( count + 1, ), fields[ 7 ] )
  • self.WINDOW.setProperty( "LatestMovie.%d.Year" % ( count + 1, ), fields[ 9 ] )
  • self.WINDOW.setProperty( "LatestMovie.%d.Plot" % ( count + 1, ), fields[ 4 ] )
  • self.WINDOW.setProperty( "LatestMovie.%d.RunningTime" % ( count + 1, ), fields[ 13 ] )
  • self.WINDOW.setProperty( "LatestMovie.%d.Genre" % ( count + 1, ), fields[ 16 ] )

of course it dont works.
Is this someway possible?


- tboooe - 2011-02-01

Hi there! I am using the AEON65 skin and for some reason the text for recently added music does not show up. I can scroll through the text box and the music artwork and fanart will change on my screen. Just the text is not showing. TV shows and movies work fine. Any ideas?