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


recentlyadded script, album playlist correction. - ppic - 2011-01-08

hi skinners, just wrote you that i've restaured the ability to play full album with recentlyadded script. thanks Hitcher for the help in testing it and xml example Wink

new version updated on the official repo, please see changelog.txt to see how to use albums Wink


- ronie - 2011-01-08

nice one ppic, works fine on my end.

would you be able to make the same change to the random items script?
(play full album instead of single song...)


- ppic - 2011-01-08

it should be the same


- Hitcher - 2011-01-08

I've copied ppic's code and added the ability to play albums using the RandomItems script.


- bridgman - 2011-01-09

anyone had any luck with "Movies.LastWatchedTitle" I have tried using it and had odd results. It pulls up the movie number instead of title. I think Lastwatched year was showing the writers instead also.


- Hitcher - 2011-01-09

I've found the problem and fixed them - expect an update soon.


- bridgman - 2011-01-09

it seems recently "LatestSong.%d.Title" titles seem to be numbers, but random songs are actual titles. I am not sure this is my database or or the script.


- Hitcher - 2011-01-09

I sent ppic an update for that yesterday.

EDIT: Here's the latest one I'm using if you want to check I've done correctly -

http://pastebin.com/13YTRtWY

Also note -

PHP Code:
"RandomSong.%d.Title" <!-- Returns the Song name when albums=False or Returns the Album name when albums=True -->
"RandomSong.%d.Album" <!-- Not used when albums=True --> 



- bridgman - 2011-01-09

Thanks Hitcher. That fixed the song title problem and Also fixed LastWatched. Great work.


Question about Recently Added - clubwerks - 2011-01-16

I'm not sure if this is a skin or XBMC question, but here's my question. I'm using Dharma 10.0 and Transparency skin and I'm wondering if there's a way to increase the number of items that display in the recently added section? Currently Transparency displays 3 items, but I've used other skins that displayed 10. Thanks.


- Tight_wad - 2011-01-16

I look into this before. Found info in the skin section of the forum. Do a little searching in that area and you should find. Someone had a download that had the xml needed to do this but not sure if it was for the Transparency skin or not.

I decided not to do this, we just use the recent added that is "right arrow" click on the movie button to display 25 newest movies.


- Dobyken - 2011-01-16

clubwerks Wrote:I'm not sure if this is a skin or XBMC question, but here's my question. I'm using Dharma 10.0 and Transparency skin and I'm wondering if there's a way to increase the number of items that display in the recently added section? Currently Transparency displays 3 items, but I've used other skins that displayed 10. Thanks.

There's a setting in advancedsettings.xml for that. I changed mine from to 50 in Confluence.

<recentlyaddeditems>35</recentlyaddeditems>

http://wiki.xbmc.org/index.php?title=Advancedsettings.xml


- Tight_wad - 2011-01-16

Dobyken Wrote:There's a setting in advancedsettings.xml for that. I changed mine from to 50 in Confluence.

<recentlyaddeditems>35</recentlyaddeditems>

http://wiki.xbmc.org/index.php?title=Advancedsettings.xml

That will work to change the Library view of recently added, but it won't change the Home view that can show recently added.

Also, just in case someone doesn't know:

<videolibrary>
<recentlyaddeditems>35</recentlyaddeditems>
</videolibrary>

Items in red must be included for this to work.


- clubwerks - 2011-01-16

Sorry, in case I was unclear, I meant the little window on the main menu screen.


- castortray - 2011-01-18

I'm using Dharma 10.0 and [MOD] Customizable Confluence.
But I test it on original Confluence skin.
I modified script.recentlyadded,limit=10 in files:
- skin.confluence/720p/Home.xml
- skin.confluence/720p/Startup.xml
also download http://pastebin.com/Lme2MeKs and save as IncludesHomeRecentlyAdded.xml
but I have some issue:
Image Image Image

1. movies list has been increased for 10 but on the list still are only 4 recently added videos Sad
2. nothing change for tv_shows (latest episodes) Sad

Current Rev.35744 (updated by http://code.google.com/p/xbmcupdate/

Any help is appreciated.
Thanks for any tips.