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

allow to translate existed subtitles #66

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MaleicAcid
Copy link
Contributor

@MaleicAcid MaleicAcid commented Feb 23, 2025

  • make transcription_queue as class member
  • add add_existed_subtitles as a new producer function
  • need to realize Subtitle.to_json() method

I want to use lrc to translate existing subtitle files. A simpler solution is to add a new producer function, which can add existing subtitle files to the queue.
This is roughly what it looks like, but I don't known how to implement the Subtitle.to_json() method, so this code is actually unfinished. Any suggestions or help will be appreciated.

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.

None yet

1 participant