Open seanms1991 opened 2 years ago
The problem is that tokenizer adds a timestamp to the end of the file path in actors.db. Example: "yun_lan.Token.webp?1659191613356". The "?1659191613356" is not part of the filename.
I don't know why Mr Primate added this timestamp, I guess he had good reason to.
I did not expect this while implementing so the program doesn't check for files with appended timestamps. Should there be a next version I will update the search and replace algorithm.
While most actors have their pictures updated as expected, some are skipped. From what I can tell, it's mostly the avatars of the actors and not the tokens. The images are updated but the reference is not updated in the actors.db. Attached are some examples of actors that have this issue. Their tokens were created with Tokenizer, but those converted successfully and their main picture did not, which was not created with tokenizer. I've uploaded the pictures that were converted, the actor data exported as json files, and the actors.db files they were in both before and after the optimizer processed it.
I am running Windows 11 and have tried to run this on two separate computers with the same result.
If you need more information, let me know.
Example.zip