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

[Feature Request]: Resuming transcription (Pause/Crash recovery/Ask confirmation when closing the app) #344

Open
oleole39 opened this issue Oct 23, 2024 · 0 comments
Assignees

Comments

@oleole39
Copy link
Contributor

Describe the feature

Feature idea

Being able to resume a transcription at the point it was previously interrupted would be great for following the scenarios:

Pause

Some files are long and thus ask for a longer transcription time during which it can slow down the machine running it for a while (not estimated so far in terms of time and probably difficult to estimate quite precisely).
Sometimes you need to make some other resource-intensive stuff on your machine, but you don't want to loose all transcription work done so far...
Being able to pause the transcription to resume once you've completed your other urgent resource-intensive stuff would prove very convenient.

Crash recovery

If Vibe crashes for any reason, you currently loose all what was done up to the crash time for the given transcription work. If a resume feature was available, when opening Vibe again, you would have the opportunity to try again from the point it crashed, making it feeling much less annoying.
That may also helps understanding crashes (if it crashes at the same

Implementation

Not sure how it would fit in Vibe's code and what part of it may already be implemented, but a general idea could be writing a last_transcription.json file on persistent storage (say Vibe's config folder) containing:

  1. last_transcription_complete (boolean)
  2. last_transcription (empty if 1. = true, else:)
  • file_path
  • current_time (duration until which the file has already been transcribed)
  • content (the full json of the transcription up to current point)

Both current_time value in and content would have to be updated during transcription.

When opening Vibe, it should then check the value of last_transcription_complete and if false, propose to continue with previous transcription. If user clicks "Start new one", then it resets both JSON files.

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

2 participants