Open pornganizer opened 5 years ago
I'm suggesting the duplication handling do the following:
the important thing to keep in mind is that the conflict resolution process has to be for all files imported, not a single file. meaning anything like "advise user" or "ask user" becomes a lot trickier.
OK, then if import video has existing hash, PG should check stored location for the original and if it is not there, should import the new file but transfer all tags associated with the original to the new file in the new location (I think updating the location in the db suffices for this). If the import file has same name as an existing file in the db, it should be at least flagged in the log to allow the user to address the situation. It might be handled easily appending and exporting a txt log containing Duplicte Filename Imports and Duplicate Hash Imports. You could, whenever appending such a list, put a date code next to each entry, and user would have a ready file list to prosecute the problem childs with. You're already "advising user" for #2 via the log, as it is.
A better way of handling duplicates. Ability to replace a scene with another, leaving all metadata intact.