Ver 7.0.17.1 - Duplicate Media Prevention
Posted: 05 Nov 2022 16:54
FH V7.0.17.1 Updates say:
There are four scenarios when adding Media and considering possible duplicates.
The file paths referred to here are the ones in the Media record File Link.
It just quietly does not copy the file and uses the existing Media record.
Case 3. leads to files with a suffix like (n) without FH giving any warning.
Case 2. can arise if the file is left outside FH or copied to a different folder than its existing duplicate.
So this case still needs the 'Check for Possible Duplicate Media' plugin to find such files.
The original trigger for this change was imported Projects where multiple Local Media Objects all referred to the same Media file (i.e. Case 4, above) and produced multiple identical Media Records and multiple file copies.
That problem is fixed by the change, but has missed the opportunity for detecting the other cases.
However, it does not explain the criteria for detecting duplicates and there seems to be nothing in the Help.If you add a picture or other media item into a project, Family Historian will now check for duplicates, skip unnecessary file copies, and avoid creating a new Media record if there is already a Media record for the item in question.
There are four scenarios when adding Media and considering possible duplicates.
The file paths referred to here are the ones in the Media record File Link.
- Both files have different file paths and different contents, so are definitely NOT duplicates.
- Both files have different file paths but identical contents, so in some sense are duplicates.
- Both files have the same file path but different contents, so are definitely NOT duplicates.
- Both files have the same file path and identical contents, so are definite duplicates.
It just quietly does not copy the file and uses the existing Media record.
Case 3. leads to files with a suffix like (n) without FH giving any warning.
Case 2. can arise if the file is left outside FH or copied to a different folder than its existing duplicate.
So this case still needs the 'Check for Possible Duplicate Media' plugin to find such files.
The original trigger for this change was imported Projects where multiple Local Media Objects all referred to the same Media file (i.e. Case 4, above) and produced multiple identical Media Records and multiple file copies.
That problem is fixed by the change, but has missed the opportunity for detecting the other cases.