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

need to be automatic #23

Open
Rkso0 opened this issue Apr 4, 2023 · 2 comments
Open

need to be automatic #23

Rkso0 opened this issue Apr 4, 2023 · 2 comments

Comments

@Rkso0
Copy link

Rkso0 commented Apr 4, 2023

Hello, I am not good with programming so I am looking to make this script fully automatic, I want it always run when starting the file without asking me if I want ffsubsync or alass '"ffsubsync always for current video'" after that, it should delete the old subtitle if this possible /:

@rizzini
Copy link

rizzini commented Oct 27, 2023

+1 for this feature. Along with it, It'd be cool to have a folder include and exclude list, like in here at the mpv-autosub project.

Thank you for the amazing job. The script works great.

@tatsumoto-ren
Copy link
Collaborator

This user-script doesn't need to be run when you load a subtitle file that is already timed. So I think it's better if you first check if the subtitles are correctly timed before running the script. Running it automatically every time might actually make things worse in certain situations.

However, if you want this feature to be implemented, you need to the the following:

  1. add a new option to the config file
  2. check if it is enabled on startup and call sync_subtitles()
  3. if the file has been retimed already, do nothing.

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

3 participants