View Full Version : [MOD] Recently Added Movies, TV Shows, and Music on the Home Screen
1st a big thanks to Nuka1195 for the script:nod:
***UPDATE***
use andyblac newer recently added mod, what you can find here:
http://xbmc.org/forum/showpost.php?p=359520&postcount=34
------------------------------------------ old ------------------------------------------------------------
this mod works just like the Weather on the home page works when you are on movies/tv shows it will popup and show you the last 4 movies/tv shows you added...
http://i268.photobucket.com/albums/jj4/Og_one/RecentlyAdded_tv.jpg
http://i268.photobucket.com/albums/jj4/Og_one/RecentlyAdded_movie.jpg
You will need to download 2 new files for this mod
(download http://www.mediafire.com/?mm3mjzylo5z)
then add them to your aeon skin folder
Includes_latest_added.xml in to your 720p folder
latest_added.py in to a new folder named extras
then open up home.xml and edit line 2 to say
<defaultcontrol always="true">500</defaultcontrol>
then find <include>Furniture_HomeRSS</include> in home.xml and add this code just below it
<include>latest_added</include>
then open Includes.xml and add this line
<include file="Includes_latest_added.xml" />
and thats it....
rflores2323
2009-06-25, 16:57
how does this mod work? does it fade off after a couple of minutes? Does it scroll thru if you add several movies? etc.. can you post a video of this working as this is awesome!!!
I just noticed this in the developer forum...this helps alot because I know what I added others in the house always ask me.
Nice job
how does this mod work? does it fade off after a couple of minutes? Does it scroll thru if you add several movies? etc.. can you post a video of this working as this is awesome!!!
it works just like the Weather on the home page works when you are on movies/tv shows it will popup and show the last 4 movies/tv shows added...
Could do with a bit more space between them but other than that looks a great addition.
Batemann
2009-06-25, 17:19
WOW!
I Turn my back for 1 hour and it's finished?!?! Jees!!!! ;-) That's cool man! I will try this out tonight.
Wow. With all these mods it's hard to keep up Sometimes. So many great idea's.
Slightly Off Topic...
A few days ago I saw a thread where some of you where proposing to incorporate all these mod's. Did something come out of that?
Batemann
2009-06-25, 17:19
Could do with a bit more space between them but other than that looks a great addition.
Second that.
An option to turn off the cover art would be good, it takes up a bit too much of the screen for my personal preference.
Could do with a bit more space between them but other than that looks a great addition.
yep, i did not put that much time in to it as i was hoping that some one will add it there moded skin and make it look better :;):
Second that.
An option to turn off the cover art would be good, it takes up a bit too much of the screen for my personal preference.
all the code you need to edit is in Includes_latest_added.xml have a play...
looks great, just added it in myself
Line 51 needs changing to <height>50</height>Are we supposed to be able to play them from the Home menu now?
Are we supposed to be able to play them from the Home menu now?
you can but i did not add it as aeon uses up/down/left/right on the home menu..
what i was thinking of doing was adding a link for the submenu to move to the latest Movies/Tv shows list
some thing like this
<item>
<description>Recently Added</description>
<label>Recently added</label>
<onclick>SetFocus(510)</onclick>
</item>
Ah right. And then there's the fact that Up/Down also moves the menu bar.
pletopia
2009-06-25, 18:06
very nice :)
Batemann
2009-06-25, 22:58
Mod shows, but it doesn't show the thumbs of the movies/tv shows. I shows the title etc, but the thumb is not showing.
Am I doing someting wrong?
Edit: Something to do with rights... MY Master account shows them, my "kiddie-proof" account doesn''t. Don't know how to fix this yet...
nemrod95
2009-06-26, 16:34
Yes ! Great idea. I love it.
Thanks for your mod
Having some conflicts with Xbox360EventClient.exe that I use on my HTPC for my wireless 360 controller. THe DPad is now no longer functional other buttons work but after installing this script I can't move, any help would be great.
nemrod95
2009-06-26, 16:36
Is it possible to have the same thing with music ? recently added albums ? for example
andyblac
2009-06-27, 01:57
Ah right. And then there's the fact that Up/Down also moves the menu bar.
what an awesome mod. Just done for my self, but tweaked it and made it an option in the Home advance menu. now i just press up then i can scroll along to select what movie want to view.
http://www.mediafire.com/imgbnc.php/3ee72c24aabbb3c8a765673439ea5cc56g.jpg
http://www.mediafire.com/imgbnc.php/38811cc5b7b56efc65e843aed2a8637b6g.jpg
Here the tweaked Code:
You will need to download 2 new files for this mod
Download Here (http://www.mediafire.com/file/wd4gzkxjinn/LatestAddintions.zip)
then add them to your aeon skin folder
Includes_latest_added.xml in to your 720p folder
latest_added.py in to a new folder named extras
then open up home.xml and edit line 2 to say
<defaultcontrol always="true">500</defaultcontrol>
then find <include>Furniture_HomeRSS</include> in home.xml and add this code just below it
<include>latest_added</include>
then open Includes.xml and add this line
<include file="Includes_latest_added.xml" />
then open Includes_MainMenu.xml and find:
<include name="DownForSub">
<onup>Skin.Reset(lowermainmenu)</onup>
<ondown>351</ondown>
</include>
and add this code just below it
<include name="LatestAdditions">
<onup>SetFocus(510)</onup>
<ondown>351</ondown>
</include>
then find <include condition="!Skin.HasSetting(onetouch)">DownForSub</include> and replace with these two lines of code.
<include condition="!Skin.HasSetting(onetouch) + !Skin.HasSetting(homelatest)">DownForSub</include>
<include condition="!Skin.HasSetting(onetouch) + Skin.HasSetting(homelatest)">LatestAdditions</include>
open Customisation.xml and find these lines of code:
<control type="radiobutton" id="503">
<include>Objects_SettingsDefaultRadioButton</include>
<label>31252</label>
<onclick>Skin.ToggleSetting(nohomegradient)</onclick>
<selected>!Skin.HasSetting(nohomegradient)</selected>
</control>
and add this just below it.
<control type="radiobutton" id="504">
<include>Objects_SettingsDefaultRadioButton</include>
<label>Latest Additions</label>
<onclick>Skin.ToggleSetting(homelatest)</onclick>
<selected>Skin.HasSetting(homelatest)</selected>
</control>
if you have added other mods like conditional weather and animated Icons you may need to increase the ID number to the next highest number.
and last open Fonts.xml and find this
<font>
<name>Font_WeatherTemp</name>
<filename>aeon_title.ttf</filename>
<size>55</size>
</font>
and add this below it
<font>
<name>Font_LatestAdditionsTiles</name>
<filename>aeon_main_kr.ttf</filename>
<size>18</size>
</font>
<font>
<name>Font_LatestAdditionsYear</name>
<filename>aeon_main_kr.ttf</filename>
<size>16</size>
</font>
thats i hope you like it.
Might be abit off topic, but can this be modded to give library stat's aswell?
ie.. number of movies, albums ect..
rausch101
2009-06-27, 02:38
Might be abit off topic, but can this be modded to give library stat's aswell?
ie.. number of movies, albums ect..
That is a fantastic idea - Stats popping up in the home menu for each category.
dteirney
2009-06-27, 03:43
I'd find it immensely helpful if patches to the git repository version were created rather than instructions on what files to change. It's easy to do:
git diff > filename.patch
Then people can apply the changes using :
patch -p0 < filename.patch
Thanks!
andyblac
2009-06-27, 10:28
I'd find it immensely helpful if patches to the git repository version were created rather than instructions on what files to change. It's easy to do:
git diff > filename.patch
Then people can apply the changes using :
patch -p0 < filename.patch
Thanks!
but how would this work with loads people having different mods made to Aeon? not everyone is using a virgin Auriga branch
Batemann
2009-06-27, 13:23
That is a fantastic idea - Stats popping up in the home menu for each category.
I was thinking the exact same thing. That would be VERY cool. A small list with numbers of movies, series and episodes. ;-)
I was thinking the exact same thing. That would be VERY cool. A small list with numbers of movies, series and episodes. ;-)
I test something like that, but there is a problem.
I dont know, how to get the numbers of each content in the main view.
Container(id).NumItems Number of items in the container with given id. If no id is specified it grabs the current container.
<label>$INFO[Container(50).NumItems] $LOCALIZE[31005]</label>
It may be to add virtual (wrap/fixed)lists to get the ids for the container?
Batemann
2009-06-27, 17:21
I test something like that, but there is a problem.
I dont know, how to get the numbers of each content in the main view.
Container(id).NumItems Number of items in the container with given id. If no id is specified it grabs the current container.
<label>$INFO[Container(50).NumItems] $LOCALIZE[31005]</label>
It may be to add virtual (wrap/fixed)lists to get the ids for the container?
I wouldn't know. Anyone with actual skinning experience around here?
jballard
2009-06-27, 18:44
This is really great! I got it working, though my TV shows and some of my movies aren't showing thumbs. It looks from the log that the thumb doesn't exist in the cache. Does anyone know why this would be?
10:10:50 T:15588 M:1234055168 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/c/c11f03a5.tbn
10:10:50 T:15588 M:1234055168 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/c/c11f03a5.tbn
10:10:50 T:15588 M:1231572992 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/f/feedd7c2.tbn
10:10:50 T:15588 M:1231572992 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/f/feedd7c2.tbn
10:10:50 T:103332 M:1222184960 NOTICE: -->Python Interpreter Initialized<--
10:10:50 T:103332 M:1222184960 NOTICE:
10:10:53 T:15588 M:1239498752 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/3/3eb80ed5.tbn
10:10:53 T:15588 M:1239498752 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/3/3eb80ed5.tbn
10:10:53 T:15588 M:1237835776 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/a/afe8b84b.tbn
10:10:53 T:15588 M:1237835776 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/a/afe8b84b.tbn
10:10:53 T:15588 M:1237835776 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/e/e70b3ef4.tbn
10:10:53 T:15588 M:1237835776 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/e/e70b3ef4.tbn
10:10:53 T:15588 M:1237835776 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/5/52133983.tbn
10:10:53 T:15588 M:1237835776 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/5/52133983.tbn
Is it possible to have the same thing with music ? recently added albums ? for example
yep you will need to ask andyblac or Hitcher to add the code for it:;):
Might be abit off topic, but can this be modded to give library stat's aswell?
ie.. number of movies, albums ect..
not with this script....
This is really great! I got it working, though my TV shows and some of my movies aren't showing thumbs. It looks from the log that the thumb doesn't exist in the cache. Does anyone know why this would be?
10:10:50 T:15588 M:1234055168 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/c/c11f03a5.tbn
10:10:50 T:15588 M:1234055168 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/c/c11f03a5.tbn
10:10:50 T:15588 M:1231572992 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/f/feedd7c2.tbn
10:10:50 T:15588 M:1231572992 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/f/feedd7c2.tbn
10:10:50 T:103332 M:1222184960 NOTICE: -->Python Interpreter Initialized<--
10:10:50 T:103332 M:1222184960 NOTICE:
10:10:53 T:15588 M:1239498752 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/3/3eb80ed5.tbn
10:10:53 T:15588 M:1239498752 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/3/3eb80ed5.tbn
10:10:53 T:15588 M:1237835776 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/a/afe8b84b.tbn
10:10:53 T:15588 M:1237835776 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/a/afe8b84b.tbn
10:10:53 T:15588 M:1237835776 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/e/e70b3ef4.tbn
10:10:53 T:15588 M:1237835776 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/e/e70b3ef4.tbn
10:10:53 T:15588 M:1237835776 ERROR: PICTURE: Error loading image special://profile/Thumbnails/Video/5/52133983.tbn
10:10:53 T:15588 M:1237835776 ERROR: Texture manager unable to load file: special://profile/Thumbnails/Video/5/52133983.tbn
you will need to post any bugs here http://xbmc.org/forum/showthread.php?t=53396
Nuka1195
2009-06-28, 00:34
nice job cf2009,
jballard, are the movies with no thumb stacked or on a share with username password protected.
nice job cf2009,
jballard, are the movies with no thumb stacked or on a share with username password protected.
I get no thumbs when there are none saved or scraped and XBMC creates it's own, so I assume these labelled differently.
andyblac
2009-06-28, 03:40
Here's version 2 of the mod use the same procedure as before (http://xbmc.org/forum/showpost.php?p=359003&postcount=21) but use the new files below, if you already have version 1 installed just replace with the new files.
It now has Music too.
http://www.mediafire.com/imgbnc.php/62ce8e9d30dbc4906c5e8b69686f029b6g.jpg
http://www.mediafire.com/imgbnc.php/30ed73c44cb4c6a11b5ca3b3b3d5038e6g.jpg
Download Here (http://www.mediafire.com/file/zdniymyzeou/LatestAdditions_v2.zip)
jballard
2009-06-28, 05:52
you will need to post any bugs here http://xbmc.org/forum/showthread.php?t=53396
Thanks, I will re-post there.
jballard, are the movies with no thumb stacked or on a share with username password protected.
I think that may be it. The movies missing thumbs contain stacked files and the ones with thumbs do not. Though I do not know how to fix that.
I get no thumbs when there are none saved or scraped and XBMC creates it's own, so I assume these labelled differently.
As far as I know these are labeled in the same manner as the ones that are working. For all of the movies I have .nfo files and poster images in the folder with the movie, and all were created with Ember Media Manager so I think they should be fairly uniform, and since they already exist I wouldn't think that there would be any problems with xbmc needing to scrape them separately.
For TV shows I think that I have it figured out; it just needs to have the tbn file saved with the video. If xbmc needs to scrape for it, then it doesn't show.
The strange thing is that everything shows fine in multiplex view for both movies and tv.
Gamester17
2009-06-28, 18:49
Would it not look better if all the 'recently added' stuff was displayed at the very bottom, below the menu scrollbar? ???
That way one would at least get to see the top of the FanArt :;):
rausch101
2009-06-28, 19:21
Would it not look better if all the 'recently added' stuff was displayed at the very bottom, below the menu scrollbar? ???
That way one would at least get to see the top of the FanArt :;):
I agree...that way the recent icons won't be covering as much vital fanart real estate.
And then we've got to move the Now Playing item. :;):
logictester
2009-06-28, 20:20
i acutally prefer them on top, the only thing i wish is for them to fade out after a while, and then everytime you get back to movies or music it will show up again and then fade out after a while and so on.
i acutally prefer them on top, the only thing i wish is for them to fade out after a while, and then everytime you get back to movies or music it will show up again and then fade out after a while and so on.
You can add an fade animation to the includes_latest_added file, like this:
for movies: (if you focus the latest added dialog, it pops up again)
<animation effect="fade" start="100" end="0" delay="15000" time="400" condition="Container(300).HasFocus(6) + !Control.HasFocus(510)">Conditional</animation>
for episodes:
<animation effect="fade" start="100" end="0" delay="15000" time="400" condition="Container(300).HasFocus(7) + !Control.HasFocus(510)">Conditional</animation>
after:
<animation effect="slide" start="0,-20" end="0,-20" time="0" condition="!Skin.HasSetting(highertime)">Conditional</animation>
<animation effect="zoom" start="100" end="90" time="200" center="640,80" condition="Player.HasAudio + Skin.HasSetting(lowermainmenu)">Conditional</animation>
<animation effect="fade" start="0" end="100" time="500">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
<animation effect="fade" start="0" end="100" delay="1500" time="400">Visible</animation>
<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
delay is the time after the fade begins in ms (5000 = 5 secounds)
logictester
2009-06-28, 23:45
You can add an fade animation to the includes_latest_added file, like this:
for movies: (if you focus the latest added dialog, it pops up again)
<animation effect="fade" start="100" end="0" delay="15000" time="400" condition="Container(300).HasFocus(6) + !Control.HasFocus(510)">Conditional</animation>
for episodes:
<animation effect="fade" start="100" end="0" delay="15000" time="400" condition="Container(300).HasFocus(7) + !Control.HasFocus(510)">Conditional</animation>
after:
<animation effect="slide" start="0,-20" end="0,-20" time="0" condition="!Skin.HasSetting(highertime)">Conditional</animation>
<animation effect="zoom" start="100" end="90" time="200" center="640,80" condition="Player.HasAudio + Skin.HasSetting(lowermainmenu)">Conditional</animation>
<animation effect="fade" start="0" end="100" time="500">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
<animation effect="fade" start="0" end="100" delay="1500" time="400">Visible</animation>
<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
delay is the time after the fade begins in ms (5000 = 5 secounds)
thanks a lot - exactly what i wanted :)
thrasherx
2009-06-29, 13:09
Am I the only one who thinks it would be cool to sort it both by most recently added and unwatched? I only care about the movies/tv shows that I haven't watched. Having said that, I'm no python expert. :no:
<include name="LatestAdditions">
<onup>SetFocus(510)</onup>
<ondown>351</ondown>
</include>
I have a problem with that, if i press up, on focus pictures or other mainmenubutton without latest added, the mainmenu unfocused, sometimes xbmc crashs.
I test it with unvisible buttons like submenu, but it doesn't work.
I dont get any Thumbs for my movies and tv shows, even after deleting my database and thumbnail folders. Movies are being scraped with Ember Media Manager and are stored in single Folders for every movie, so they have their own nfo and boxart and fanart stored in their respective folders.
tv shows are being scraped in xbmc itself.
i dont know what to do...
ok i can get it to show the most recently added and i can press up and navigate thru them but when i press enter on them they dont play?
how do i make them play?
also is there a way to make it show more then 4 tv shows? it shows a fair few movies but only 4 eps.
andyblac
2009-07-01, 03:18
I have a problem with that, if i press up, on focus pictures or other mainmenubutton without latest added, the mainmenu unfocused, sometimes xbmc crashs.
I test it with unvisible buttons like submenu, but it doesn't work.
i can confirm it does unfocused but as soon as you press any other arrow it gets focus again.
i have edited some animations for the "latest added" Plugin, now it looks better
Video (http://www.youtube.com/watch?v=gxHEq7N5VD0)
open Includes_MainMenu.xml
1. add after:
<include name="PushForSub">
<ondown>Skin.SetBool(lowermainmenu)</ondown>
<onup>Skin.Reset(lowermainmenu)</onup>
</include>
that:
<include name="LatestAdditions">
<onup>3052</onup>
<ondown>351</ondown>
</include>
2. add after:
<control type="button" id="351">
<onfocus>SetFocus(941)</onfocus>
<visible>Container(300).HasFocus(1)</visible>
</control>
<control type="button" id="351">
<onfocus>SetFocus(943)</onfocus>
<visible>Container(300).HasFocus(9)</visible>
</control>
that:
<control type="button" id="351">
<onfocus>Skin.SetBool(lowermainmenu)</onfocus>
<onup>SetFocus(300)</onup>
<ondown>SetFocus(300)</ondown>
<visible>[Container(300).HasFocus(2) | Container(300).HasFocus(5) | Container(300).HasFocus(8) | Container(300).HasFocus(10) | Container(300).HasFocus(13) | Container(300).HasFocus(20) | Container(300).HasFocus(21) | Container(300).HasFocus(22) | Container(300).HasFocus(23) | Container(300).HasFocus(24)] + !Skin.HasSetting(lowermainmenu)</visible>
</control>
<!-- Virtual Button für latest added -->
<control type="button" id="3052">
<onfocus>SetFocus(510)</onfocus>
<visible>Container(300).HasFocus(6) | Container(300).HasFocus(7)</visible>
</control>
<control type="button" id="3052">
<onfocus>Skin.Reset(lowermainmenu)</onfocus>
<ondown>SetFocus(300)</ondown>
<onup>SetFocus(300)</onup>
<visible>[Container(300).HasFocus(1) | Container(300).HasFocus(2) | Container(300).HasFocus(5) | Container(300).HasFocus(8) | Container(300).HasFocus(9) | Container(300).HasFocus(10) | Container(300).HasFocus(13) | Container(300).HasFocus(20) | Container(300).HasFocus(21) | Container(300).HasFocus(22) | Container(300).HasFocus(23) | Container(300).HasFocus(24)] + Skin.HasSetting(lowermainmenu)</visible>
</control>
3. change:
<include condition="!Skin.HasSetting(onetouch)">DownForSub</include>
to:<include condition="!Skin.HasSetting(onetouch) + !Skin.HasSetting(latestadded)">DownForSub</include>
<include condition="!Skin.HasSetting(onetouch) + Skin.HasSetting(latestadded)">LatestAdditions</include>
Includes_latest_added.xml and media/home in the package (http://www.mediafire.com/?sharekey=457ec3e00076fba936df4e8dca141969e04e75f6 e8ebb871).
thrasherx
2009-07-01, 19:38
Bump for my idea of adding an option to filter out recently added movies that you've already watched... any takers?
Nuka1195
2009-07-01, 19:45
the latests script has the additional arg (unplayed=True) that will do that
thrasherx
2009-07-02, 00:13
the latests script has the additional arg (unplayed=True) that will do that
Where in the code is it (seeing how it isn't enabled by default)?
rpleasan
2009-09-22, 05:18
how does this mod work? does it fade off after a couple of minutes? Does it scroll thru if you add several movies? etc.. can you post a video of this working as this is awesome!!!
I installed the update (RecentlyAdded.py) over Aurgia and the latest xbmc nightly but I am not sure how to enable the mod. I've seen some images where it is enabled in the custom menus. Can I get a little help?
Great mod! Thanks to all the people who worked on this
ejkeebler
2009-11-20, 01:52
I love this mod, and I've found where to change the number of movies shown, just to add a few more. 2 questions though:
1) is there a place where I can change which recent movies/tv show it displays, for instance maybe i want to show the 6 newest movies, rather than the 6 most recently added
2) is there anyway easier way to tell which movie is selected? The text gets a little brighter, but it is very hard to tell which movie/episode you are selecting, maybe the unselected ones could fade out just a little more when you change selection or some sort of highlight around the movie??
and a third i guess, i changed the recent number to 6 which worked for movies, but episodes still show 4 is there anyway to change that?