Add languages config as a script-opt?
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
came here to request the same functionality. Seems like its is covered by https://github.com/davidde/mpv-autosub/pull/47
seems like one can configure https://subliminal.readthedocs.io/en/latest/ directly as well