Skip to content

Conversation

@ajitid
Copy link
Contributor

@ajitid ajitid commented Feb 17, 2024

This is easy to reproduce. Try using an input subtitle file that is not related to the video. Score is reported as negative while sync_was_successful is still reported as true.

skip_sync is untouched. So if skip_sync is true (which means best score would be 0), sync_was_successful will still report as true.

PS: sorry for this being such a crude PR. I don't usually work in python and I couldn't come up with a test to add. I would happily take up the feedback to improve the PR if you give any.

@morpheus65535 please weigh in if you feel otherwise.

@smacke
Copy link
Owner

smacke commented Mar 18, 2024

LGTM, thanks for the PR

@smacke smacke merged commit 1f098e7 into smacke:master Mar 18, 2024
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

Successfully merging this pull request may close these issues.

2 participants