The Wayback Machine - https://web.archive.org/web/20230911191346/https://github.com/sc0ty/subsync/issues/135
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

Using cli to stop early #135

Open
Gronis opened this issue Jan 16, 2022 · 0 comments
Open

Using cli to stop early #135

Gronis opened this issue Jan 16, 2022 · 0 comments

Comments

@Gronis
Copy link

Gronis commented Jan 16, 2022

Hi,

I've just tried out this software and it seams to work best of all the tools i've tried.
Right now, I'm stuck with the problem that some jobs take significantly more time than others. One job has been going on for over 3 hours and it's around 75% done. This job is probably syncing from another subtitle embedded in the video file, and that is why it is taking so long. I know that using the effort flag can drop this time but that cannot be adjusted on the fly while the process is ongoing. Sending a signal interrupt just drop the process and the subtitle is not written to file before shutting down.

Could it be possible to listen to a signal interrupt and write the subtitle to the file before shutting everything down. That way, an outside process can shut down without having to wait for the process to complete.

Another idea is to listen to stdin and write when the user is typing something. Another solution would be to use something like a "--checkpoint" flag that writes the subtitle at certain intervals (like 20%, 40%, 60% etc).

Anyways great job with the software.

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