Kodi Community Forum

Full Version: Date Added in the NFO file ignored during importing - Error with movies before 1970
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!
I have Kodi 18.1 x64 on a Windows 10 PC and i want to import correctly my library of Movies created with TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204).

I have the problem that the tag dateadded inside the NFO file is ignored during the import process. The problem is related to the date before the 1970. I show you an example.

Movie: West and Soda (https://www.imdb.com/title/tt0144681/)

My file have this date:

Image

The NFO file is thisĀ https://paste.kodi.tv/owujupigec as you can see the dateadded tag is this:

<dateadded>1965-10-01</dateadded>

but after the importing the result in the database is this (there are two entry because i repeat the importing)

Image

As you can see the dateAdded field is wrong.
I don't think the syntax of the dateadded tag is wrong (there is no hour and minute field), because other movie (with date after the 1970) works perfectly.

I'm afraid that is a bug from the Windows OS...
I don't seem to have a problem manually editing the .nfo for date (and scraping of the date) with Kodi, your issue may be best directed with their forum (created with TinyMediaManager). I do note Kodi 18.4 is available, while you are using v18.1

With your permission, I would like to re-locate the thread to https://forum.kodi.tv/forumdisplay.php?fid=204
@brunosso

The syntax of the dateadded tag is wrong.

The correct syntax is date and time.
<dateadded>1969-03-23 21:17:30</dateadded>

But you have
<dateadded>1965-10-01</dateadded>

The issue is a problem with TMM for providing incorrect values. It is not a Kodi bug. Problem needs to be directed to them.

I will move your thread there.
(2019-09-23, 21:10)Karellen Wrote: [ -> ]@brunosso

The syntax of the dateadded tag is wrong.

The correct syntax is date and time.
<dateadded>1969-03-23 21:17:30</dateadded>

But you have
<dateadded>1965-10-01</dateadded>

The issue is a problem with TMM for providing incorrect values. It is not a Kodi bug. Problem needs to be directed to them.

I will move your thread there.

Meanwhile I install Ubuntu on the same pc, and I import the library (same USB hdd, same file, same NFO file) and he result is correct. So at least in Unix system the dateadded tag is syntactically correct.

I must try with Windows...

Thank you all guys

EDIT: I retry in Windows and the tips from Karellen is correct... with the time inside the dateadded tag the import process is correct!!!
thanks for clarification. Myron has already changed the format for the next release

stay tuned
(2019-09-24, 12:42)mlaggner Wrote: [ -> ]thanks for clarification. Myron has already changed the format for the next release

stay tuned

Thank you guys