Kodi 17 - [Movie Database] dateAdded gets false date by rescrapping a folder

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
WebEye Offline
Junior Member
Posts: 17
Joined: Feb 2017
Reputation: 1
Post: #1
Hi,

I've got a boring bug! I've got a movie directory which is assigned to "The Movie DB" Scraper and contents well scanned movies.
So if I add some new movies and rescan this folder, only the last scraped new movie get the right date in Kodi DB (table "files", field "dateAdded") The other movies get some other dates, I've never able to discover from where this date comes from.

This is very boring, because this movies doesn't appear in view "last added movies"

Thanks for support,
WebEye

PS: I've just realized, the last movie doesn't get the the very right date as well, e.g I scaned today, 2017-06-10 12:37:46 and got two new movies:

First scaned movie gets a date by 2014....
Second scaned movie gets the following date: 2017-06-08 13:37:46

So you see there is a difference of two days....
(This post was last modified: 2017-06-10 13:04 by WebEye.)
find quote
WebEye Offline
Junior Member
Posts: 17
Joined: Feb 2017
Reputation: 1
Post: #2
sorry for bumping, but no one?
find quote
runningnaked Offline
Junior Member
Posts: 40
Joined: Nov 2009
Reputation: 1
Post: #3
Not sure if this will help, but check the videolibrary section of the wiki's advancedsettings.xml page, specifically the dateadded tag.

By default, Kodi uses the movie file's modification time / creation time. Check the date of the file on your harddrive / NAS. That would be the date that Kodi stores in its library. If you want the dateAdded to be the actual date & time that you scraped it into the library, add the dateadded tag with a value of 0. Then it should show in "last added movies" according to scrape date/time.

Do note that if you Refresh / re-scrape the movie at a later date/time (to get a new poster/fanart/etc.), then the dateAdded field will be updated to the current datetime.
find quote
WebEye Offline
Junior Member
Posts: 17
Joined: Feb 2017
Reputation: 1
Post: #4
nice to know!

Thank you, I will give it a try....
find quote
WebEye Offline
Junior Member
Posts: 17
Joined: Feb 2017
Reputation: 1
Post: #5
works for me!

Thank you very much,
webEye
find quote
runningnaked Offline
Junior Member
Posts: 40
Joined: Nov 2009
Reputation: 1
Post: #6
Glad it worked out for you! Big Grin
find quote