v18 Date Added in the NFO file ignored during importing - Error with movies before 1970
#1
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:

xml:
<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'm not in danger Skyler, I'm the danger! A guy opens his door and get shot, and you think that's me? No, I'M THE ONE WHO KNOCKS!!

Ember Media Manager lover...
#2
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
#3
@brunosso

The syntax of the dateadded tag is wrong.

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

But you have
xml:
<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.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
#4
(2019-09-23, 21:10)Karellen Wrote: @brunosso

The syntax of the dateadded tag is wrong.

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

But you have
xml:
<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!!!
I'm not in danger Skyler, I'm the danger! A guy opens his door and get shot, and you think that's me? No, I'M THE ONE WHO KNOCKS!!

Ember Media Manager lover...
#5
thanks for clarification. Myron has already changed the format for the next release

stay tuned
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at GitLab
#6
(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
I'm not in danger Skyler, I'm the danger! A guy opens his door and get shot, and you think that's me? No, I'M THE ONE WHO KNOCKS!!

Ember Media Manager lover...

Logout Mark Read Team Forum Stats Members Help
Date Added in the NFO file ignored during importing - Error with movies before 19700