(2012-06-16, 23:24)Montellese Wrote: @lastimp: Just remembered that you wrote that your files are on a NAS. What OS and filesystem does it use and what do you use to access the files? Maybe it helps narrow down the problem in the code if it's a specific protocol or filesystem.
I am using freenas (FreeBSD based) and samba for sharing, however shouldn't that be irrelevant if ubuntu is showing the proper ctime of "Change: 2010-05-19 04:30:33.326882600 -0700" . Even just doing an "ls -lc" from the command line shows the correct change time that should be used:
lastimp@xbmc:~/Media/Media/Movies/The Book of Eli (2010)$ ls -lc
total 6905218
drwx------ 2 lastimp lastimp 0 2012-04-10 20:10 extrathumbs
-rwx------ 1 lastimp lastimp 424209 2012-05-26 13:29 The Book of Eli-fanart.jpg
-rw-r--r-- 1 lastimp lastimp 7041004012 2010-05-19 04:30 The Book of Eli.mkv
-rwx------ 1 lastimp lastimp 30764 2012-05-26 13:29 The Book of Eli.nfo
-rwx------ 1 lastimp lastimp 63475 2012-05-26 13:29 The Book of Eli.tbn
-rwx------ 1 lastimp lastimp 33304692 2011-12-22 13:39 The Book of Eli-trailer.mp4
Here is the stat when I ssh directly into my server:
[lastimp@nas4free /mnt/tank/Storage/Media/Movies/The Book of Eli (2010)]$ stat -x "The Book of Eli.mkv"
File: "The Book of Eli.mkv"
Size: 7041004012 FileType: Regular File
Mode: (0644/-rw-r--r--) Uid: ( 1001/ lastimp) Gid: ( 31/ guest)
Device: 213,2904424681 Inode: 291259 Links: 1
Access: Sat Jun 16 10:57:55 2012
Modify: Wed Nov 9 15:33:11 2016
Change: Wed May 19 04:30:33 2010
which appears to have the same info from what I can tell.