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

Add languages config as a script-opt? #46

Open
edgar-vincent opened this issue Jan 10, 2025 · 0 comments
Open

Add languages config as a script-opt? #46

edgar-vincent opened this issue Jan 10, 2025 · 0 comments

Comments

@edgar-vincent
Copy link

Hi,

Thanks a lot for this script. I'm not very familiar with mpv scripts in general, so please excuse me if my question sounds silly.

Would it be possible to configure the subtitle language without editing the script file, but by editing a separate configuration file or by using mpv's --script-opts argument?

I use this script in a packaged form, so I can't edit autosub.lua directly. Instead, I generally use ~/.config/mpv/script-opts/foobar.lua. I suppose this could also be useful to users who link their ~/.config/mpv/scripts/autosub.lua file to a local copy of the git repo, which would allow them to easily update it by pulling the latest commits.

Thanks!

EV

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

1 participant