Automatically search and fetch subtitle via subliminal in mpv.
First, you need to install subliminal
Then just run this command
mkdir -p ~/.config/mpv/scripts; cd ~/.config/mpv/scripts; curl -O https://raw.githubusercontent.com/ardadem/mpv-auto-sub/master/auto-sub.lua
That's it!
Edit configuration section in ~/.config/mpv/scripts/auto-sub.lua
with your favorite text editor.
Play a video in mpv then press the 'B' key. Subtitle will be loaded.