Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Scan Library - Date Added 1970-01-01
#1
I have the movie files hosted on a Web Hosting.
If I add a WebDAV source, scanning the library with The Movie DB inserts January 01 1970 as the added date.
If instead I add an FTP source for the same files, the scan of the library with The Movie DB is slower but the date added is correct.
I tried to connect to WebDAV from Computer and the file date is correct.

How is it possible?
Nothing appears from the log, not even activating debugging.
Reply
#2
(2021-10-26, 16:27)Andreus Wrote: Nothing appears from the log, not even activating debugging.

Without a debug log (wiki), our hands are tied as well. As we also have no crystal ball in our midst.
Reply
#3
(2021-10-26, 21:23)Klojum Wrote:
(2021-10-26, 16:27)Andreus Wrote: Nothing appears from the log, not even activating debugging.

Without a debug log (wiki), our hands are tied as well. As we also have no crystal ball in our midst.
Klojum, you are absolutely right! but there are no SQL queries in the debug log for adding files to web sources. I have analyzed it thoroughly and there is nothing regarding the date added and there is nothing strange.

I wrote this post in case it happened to someone else or had any idea what it was and how to fix it.

In any case, I bypassed it by putting these lines in the advacedsettings.xml file:
<videolibrary>
    <dateadded> 0 </dateadded>
</videolibrary>

this adds the upload date and avoids 1970-01-01
Reply
#4
(2021-10-27, 05:59)Andreus Wrote: there are no SQL queries in the debug log for adding files to web sources.

When enabling debugging in the Kodi GUI, there are also additional components you can enable. Such as the "Database component". Do that, restart Kodi, and scrape some new items. If you are using MySQL/MariaDB, you can also investigate their log files.
Reply
#5
(2021-10-27, 08:33)Klojum Wrote:
(2021-10-27, 05:59)Andreus Wrote: there are no SQL queries in the debug log for adding files to web sources.

When enabling debugging in the Kodi GUI, there are also additional components you can enable. Such as the "Database component". Do that, restart Kodi, and scrape some new items. If you are using MySQL/MariaDB, you can also investigate their log files.

Thanks, I didn't know! i will check it! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Scan Library - Date Added 1970-01-010