Page 1 of 1
Check for Possible Duplicated Media; Plugin Error
Posted: 07 Dec 2022 10:22
by peterbel
Version 1.3.4.
FH 7. 0.18
Win10
Almost at the very end of the 'run' this error comes up. Is there something I can do to correct it?

- Plugin Error.JPG (48.54 KiB) Viewed 463 times
Re: Check for Possible Duplicated Media; Plugin Error
Posted: 07 Dec 2022 10:41
by ColeValleyGirl
Re: Check for Possible Duplicated Media; Plugin Error
Posted: 07 Dec 2022 11:34
by tatewise
Yes, the cause is probably the same but the script line number has changed from around 230 to around 65.
The same function LoadFromFile(...) is involved and the same diagnostics and workaround apply.
My 'prototype' Check for Possible Duplicated Media plugin is only a workaround for the Plugin Store version by Jane, which hopefully will incorporate these fixes and the cache.
Perhaps it should list any large files such as .mp4 that get excluded form the duplicated check?
Re: Check for Possible Duplicated Media; Plugin Error
Posted: 07 Dec 2022 13:03
by Mark1834
Wasn't there also discussion about speeding up the runtime by simply checking file size? You only need to do the memory-intensive MD5 calculation if the files are of identical size. If size differs, they cannot be duplicates.
Re: Check for Possible Duplicated Media; Plugin Error
Posted: 07 Dec 2022 14:44
by tatewise
I don't recall that discussion but it is undoubtedly a good idea. Hopefully, Jane is monitoring this discussion.
Re: Check for Possible Duplicated Media; Plugin Error
Posted: 07 Dec 2022 22:00
by peterbel
Thanks everyone.
I briefly read the referenced thread and the code before I went out this morning and registered the current position for the print statement to be added.
Altering and running the PlugIn this evening showed the problem was two .avi files, moving them solved the problem.