Forked from https://gist.github.com/selsta/ce3fb37e775dbd15c698
Lua script for mpv to download subtitles using subliminal.
Supports local files and streams (using youtube-dl) when titled properly. The default keybinding is b
.
Save the script to ~/.config/mpv/scripts/autosub.lua
.
Requires Subliminal.