Okay, since I hate uuid based ids, I have modified the standalone opf_id_updater to version 2 that tries much much harder to generate an id based on a filename even if a collision occurs by adding a 4 digit count field to the base id only when needed.
In case others are interested I have attached it.
It works in my tests but it really needs to be tested on an OPF that has lots more potential for collisions to validate the new routine.
See the attached. Testers and Feedback welcome.
Last edited by KevinH; 07-06-2024 at 04:16 PM.
Reason: Removed outdated attachment
|