Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Recently Added Movies not updating
#1
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.
Reply
#2
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.
Reply
#3
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?
Reply
#4
Nope it's by design.

There will(or is) an option to change this behaviour using advancedsettings.xml
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#5
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.
Reply
#6
I have added the behavior to change it using advancedsettings.xml on git and submitted a pull request.
Reply
#7
(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
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#8
Oh well. I tried. Thanks.
Reply
#9
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
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#10
(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?


------------------------------------------
Intel Quad core 4.6 Ghz / Windows 11 Pro / 64 gigs RAM/ MCE Remote /45 Tb storage / Intel i9 13900k with a RTX 4070 via HDMI to a 80" LED TV / just over 7,400 movies

Have you entered your 5 Movies? - Support themoviedb.org as THE best open source movie information site.
Reply
#11
If you had actually read this thread you see this has just been added:
https://github.com/xbmc/xbmc/pull/1034
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#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>



------------------------------------------
Intel Quad core 4.6 Ghz / Windows 11 Pro / 64 gigs RAM/ MCE Remote /45 Tb storage / Intel i9 13900k with a RTX 4070 via HDMI to a 80" LED TV / just over 7,400 movies

Have you entered your 5 Movies? - Support themoviedb.org as THE best open source movie information site.
Reply
#13
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.
Reply
#14
(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.



------------------------------------------
Intel Quad core 4.6 Ghz / Windows 11 Pro / 64 gigs RAM/ MCE Remote /45 Tb storage / Intel i9 13900k with a RTX 4070 via HDMI to a 80" LED TV / just over 7,400 movies

Have you entered your 5 Movies? - Support themoviedb.org as THE best open source movie information site.
Reply
#15
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.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply

Logout Mark Read Team Forum Stats Members Help
Recently Added Movies not updating0