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

[SimpleHistory Feature Request] Add corrupted file auto-fix #171

Open
fidodido48 opened this issue Dec 30, 2024 · 0 comments
Open

[SimpleHistory Feature Request] Add corrupted file auto-fix #171

fidodido48 opened this issue Dec 30, 2024 · 0 comments

Comments

@fidodido48
Copy link

Hi,
just had an issue with a history file been corrupted:

[Sunday/August 18/08/2024 03:57:25] "Sam Divine B2B Low Steppa | 2024 Defected #Livestream at Ushuaïa Ibiza" | https://www.youtube.com/w

Unfinished data save resulted in missing/unset vars, which was pointing at a script error instead (very misleading, hate this kind). Deleting the line fixed the problem.
I think youre missing data validation during file load.

Try to read/check all needed data for the whole line and if something isn't right, just discard that entry as incomplete/bad.

Shouldn't be hard to do, right?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant