v21 Date added set wrong
#1
Hi!

I recently rescraped my library because of a new setup and now startet to run into the problem, that some movies have a wrong (too recent) "date added". All sources are SMB shares.

Checking via JSON RPC returns the following for some movies:
dateadded: "2024-12-08 08:10:51"
If I take a look at the same file via "stat", this seems strange:
Access: 2024-12-17 16:38:31.900790669 +0100
Modify: 2011-09-02 18:15:03.000000000 +0200
Change: 2024-04-12 16:48:31.516183211 +0200

Other files from the same share don't exhibit this problem and return the correct data:
dateadded: "2017-05-23 15:09:13"
Access: 2024-12-14 03:16:39.613143529 +0100
Modify: 2017-05-23 15:09:13.292748400 +0200
Change: 2024-04-12 16:48:31.640182614 +0200

Is there anything I'm missing why this might be happening? Could there be some permission error on my side?
I'm running Kodi 21.1 using Universal Movie Scraper (but I think the exact scraper shouldn't matter because this seems like general functionality used by every scraper?). I also rescraped the same folder and exactly the same files exhibit this same behavior again.

Any help is appreciated!
Reply
#2
What is the file type (extension) of your video files ? Did the 2 files given above as example have the same extension ?

Is the datetime on the machine holding your SMB shares the same as on the computer running Kodi ?

A Debug log may also help to check what is happening.
Reply
#3
(2024-12-17, 18:54)jkirsch Wrote: What is the file type (extension) of your video files ? Did the 2 files given above as example have the same extension ?

Is the datetime on the machine holding your SMB shares the same as on the computer running Kodi ?

A Debug log may also help to check what is happening.

1. Both are .avi Xvid files. This is a rather old folder, so this should match most files showcasing this behavior (we're talking a lot, say 100s). But there are also .mkv x264 files affected.
2. Yes, same time zone on both. Time should be synced via NTP. The SMB share is on OpenMediaVault and Kodi is running on Vero V, both with all current updates installed.
3. Will try this next, just wanted to give it a shot if this is known behavior triggered by something about the files / share.

One other thing I noticed: Kodi scans the files alphabetically and starts with this wrong dateadded at a movie starting with "B" (although there are movies starting with numbers and "A") and stops at a specific movie with the letter "U". Both have no unusual meta data as per "stat" (or any other unusual things as far as I can tell). Any files before or after are scanned correctly.
Reply

Logout Mark Read Team Forum Stats Members Help
Date added set wrong0