Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some actors are not getting the directory to their new avatar image updated properly #8

Open
seanms1991 opened this issue Nov 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@seanms1991
Copy link

seanms1991 commented Nov 8, 2022

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

@watermelonwolverine watermelonwolverine added the bug Something isn't working label Mar 24, 2023
@watermelonwolverine
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants