Kodi Community Forum
Recently Added Movies not updating - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Recently Added Movies not updating (/showthread.php?tid=132867)

Pages: 1 2


Recently Added Movies not updating - OopsAllBerrys - 2012-05-31

I just installed the nightly from May 30th to try out AE (which is awesome btw) but I noticed that when I updated my library, the Recently Added Movies widget on the home screen isnt updated. Furthermore, the Recently Added list under the Movies tab is not updated. If I browse through the movie list I see that the movie was added. TV Shows and Music appear to be working though they are not updated in real-time while looking at them on the home screen (they were in Eden); I have to go into a library and back out to see the updated recently added list.

I thought this may have been skin related (I use Transparency) but I reverted back to Confluence and its the same behavior. Anyone else experiencing something similar? I am using a MySQL database; I dropped the old database that Eden was using and allowed the nightly to create a new database.

Thanks.


RE: Recently Added Movies not updating - OopsAllBerrys - 2012-06-01

Just noticed that this is only happening when a movie is part of a set. If a movie is not part of a set, it shows up in the recently added list.


RE: Recently Added Movies not updating - OopsAllBerrys - 2012-06-06

okay, I did more testing and finally figured it out....

The 'last modified date' on a movie file is being used to sort the recently added movies, not the date that the file was scanned into XBMC. I am assuming this is a bug?


Re: Recently Added Movies not updating - Martijn - 2012-06-07

Nope it's by design.

There will(or is) an option to change this behaviour using advancedsettings.xml



RE: Recently Added Movies not updating - OopsAllBerrys - 2012-06-07

Thanks for confirming. I looked at the code on git, and yup it looks for the modification date if it can get one. Please update if there is a new advancedsettings.xml option to change this behavior. Thanks.


RE: Recently Added Movies not updating - OopsAllBerrys - 2012-06-07

I have added the behavior to change it using advancedsettings.xml on git and submitted a pull request.


RE: Recently Added Movies not updating - Martijn - 2012-06-07

(2012-06-07, 19:54)OopsAllBerrys Wrote: I have added the behavior to change it using advancedsettings.xml on git and submitted a pull request.

There is already a PR for this
https://github.com/xbmc/xbmc/pull/1034


RE: Recently Added Movies not updating - OopsAllBerrys - 2012-06-07

Oh well. I tried. Thanks.


RE: Recently Added Movies not updating - jmarshall - 2012-06-07

And we appreciate it - a bummer when someone else had done the work first, but hopefully you had fun/learnt something in the process Smile


RE: Recently Added Movies not updating - JohnWPB - 2012-06-12

(2012-06-07, 00:00)Martijn Wrote: Nope it's by design.

There will(or is) an option to change this behaviour using advancedsettings.xml

I just looked at the Advanced Settings Page and can not find the setting for this. I have movies from all the way back to 2009 showing up in my recently added list, and it is really annoying Wink Makes the recently added list pretty much useless.

I have been using XBMC for 5 years, and this is the first time I have run across this. I just tested it on my other XBMC box, running Eden, and it sorts by the date added to the library as it should. This seems to be a new "feature" added in the May release.

Can someone please post the setting syntax here?





RE: Recently Added Movies not updating - Martijn - 2012-06-12

If you had actually read this thread you see this has just been added:
https://github.com/xbmc/xbmc/pull/1034


RE: Recently Added Movies not updating - JohnWPB - 2012-06-12

(2012-06-12, 08:13)Martijn Wrote: If you had actually read this thread you see this has just been added:
https://github.com/xbmc/xbmc/pull/1034

I did read every single post, as well as a week ago when this was posted:

(2012-06-07, 00:00)Martijn Wrote: Nope it's by design.

There will(or is) an option to change this behaviour using advancedsettings.xml

"(or is) " I read to be a self correct., meaning present tense... so I thought it had been added already.

I was not asking to be sp00n fed or anything, just am not that familiar with all the terms yet. Thank you very much for the link.

For others searching, as I did to find this thread, here is what is needed in the advancedsettings.xml. the '0' will return the sorting to when added to the library, as before.

<videolibrary>
<dateadded>0</dateadded>
<recentlyaddeditems>50</recentlyaddeditems>
</videolibrary>






RE: Recently Added Movies not updating - edrikk - 2012-06-12

Just out of curiosity (along the same topic, but slightly off), can anyone confirm if the DLNA side of XBMC is correctly displaying the 'Recently Added' movies?

I strongly prefer the new XBMC way of using the modification timestamp (as it allows for the database to be rebuilt without completely destroying the recently added list), but although I see the correct videos in the XBMC GUI's recently added list, the DLNA side is not reporting any of those!

I'm running a build from May 30th (right before the June merge period) started.


RE: Recently Added Movies not updating - JohnWPB - 2012-06-12

(2012-06-12, 08:13)Martijn Wrote: If you had actually read this thread you see this has just been added:
https://github.com/xbmc/xbmc/pull/1034

Ok, I just downloaded: XBMCSetup-20120612-4c5aaa8-master.exe 12-Jun-2012 10:00

After adding the following lines to the AdvancedSettings.xml, the sort order remains the same, if I change it to 0,1 or 2.

Here are the lines that I am using to test:

<videolibrary>
<dateadded>0</dateadded>
<recentlyaddeditems>5</recentlyaddeditems>
</videolibrary>

I changed the recentlyaddeditems to 5, just so I could see that it is indeed reading the section in the advancedsettings.xml and processing it correctly. It is, as only 5 items show in the recently added list on screen.






RE: Recently Added Movies not updating - Montellese - 2012-06-12

That's because <dateadded> changes the way the date is stored in the database and not the way the sorting is done (which is not possible once a specific date has been set for an item). So if you want it to change for all your movies you'll have to remove and re-add them to your library.