I'm using filebot 4.8.5 and i have set in the enviroment variable the option to apply creation date of the renamed file same as the airdate of the episode/movie..
I try to rename this movie Alice in wonderland (https://www.themoviedb.org/movie/12092- ... wonderland) but the creation date is not the correct date (6 december 1951) but is 22 january 2017 (i don't know why!)
It's a bug or there is a way to fix this?
Movie file creation date error with very old movies
Re: Movie file creation date error with very old movies
Please run filebot -script fn:sysinfo and post the output.
If you're using Linux, then there is no such thing as a "creation date" since Linux only supports "last modified", so if FileBot tries to set "creation date" it's gonna do either nothing, or change last modified date.
It would be plausible to assume, that some operating systems / file systems do not allow file creation dates before 1970 for technical reasons. Can you confirm that it works for recent movies, but not ancient movies?


Re: Movie file creation date error with very old movies
Code: Select all
FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 38 MB Used Memory
OS: Windows 7 (amd64)
Package: MSI
License: FileBot License PX8757044 (Valid-Until: 2069-07-26)
Done ?(?????)?
I'm using Windows 7 Professional
Works for recent movies, but not ancient movies
Re: Movie file creation date error with very old movies
Well, since FileBot is running the same code for both, I can only assume there's some kind of sanity check on the lower levels, maybe JRE, maybe OS, maybe file system.


Re: Movie file creation date error with very old movies
1. Use a NTFS filesystem and teoretically it supports date from 1601...rednoah wrote: ↑02 Aug 2019, 11:28 Well, since FileBot is running the same code for both, I can only assume there's some kind of sanity check on the lower levels, maybe JRE, maybe OS, maybe file system.
Are you using a FAT or a NTFS file system? Does this file system support pre-1970 creation dates?
Have you tried using cmd or PowerShell to set a 1950 creation date on some file to see if that works?
2. I use this code to change manually the creation date (i have the locale in Italian):
Code: Select all
$(Get-Item test.txt).lastaccesstime=$(Get-Date "14/12/1942 00:00")

Re: Movie file creation date error with very old movies
I guess you could just tag them after the fact:
This one will just echo release date and file path. You can modify the -exec option to run your own commands.
Code: Select all
filebot -mediainfo -r /path/to/files -exec echo {d} {f}

Re: Movie file creation date error with very old movies
unfortunately the exec command is only for Unix systemsrednoah wrote: ↑02 Aug 2019, 13:06Code: Select all
filebot -mediainfo -r /path/to/files -exec echo {d} {f}
EDIT
The correct syntax (for Windows OS) is
Code: Select all
filebot -mediainfo -r /path/to/files -exec cmd.exe /c echo {d} {f}
Re: Movie file creation date error with very old movies
You are using this, yes ?
You can test if set with format
Code: Select all
-DuseCreationDate=true
Code: Select all
{System.getProperty("useCreationDate")}