2024-02-28, 18:34
So, more testing and what I've found.
Date modified/mtime is only used for dateAdded when the file is initially added to the database.
If I then amend the "mtime" (using Touch) and Refresh that movie, or remove and re-scan into the database, the dateAdded is still the mtime from the original add, regardless of what the mtime or create date is now.
On V20.4, I've just removed the Movie from my database (right click, manage, remove from library), and the movie file is still in the database's "files" table with the original dateAdded as above.
I then re-scan the folder after doing a "touch" to amend the modified date, and the movie is added back to my library, and the dateAdded in the files time isn't updated.
If I repeat that process on V19.5, the dateAdded in the files table is updated to the new modified date.
Is that a bug, or intended behaviour?
Date modified/mtime is only used for dateAdded when the file is initially added to the database.
If I then amend the "mtime" (using Touch) and Refresh that movie, or remove and re-scan into the database, the dateAdded is still the mtime from the original add, regardless of what the mtime or create date is now.
On V20.4, I've just removed the Movie from my database (right click, manage, remove from library), and the movie file is still in the database's "files" table with the original dateAdded as above.
I then re-scan the folder after doing a "touch" to amend the modified date, and the movie is added back to my library, and the dateAdded in the files time isn't updated.
If I repeat that process on V19.5, the dateAdded in the files table is updated to the new modified date.
Is that a bug, or intended behaviour?