A simple script that enables mpv to work with Yomichan by copying subtitles to the clipboard
If you already have mpv and Yomichan installed just copy the lua script
to your mpv scripts
directory.
The default key binding is 'y', the script simply copies the subtitle to the clipboard, so you must select the clipboard monitor option in the Yomichan Search page
- mpv https://mpv.io/
- Yomichan https://foosoft.net/projects/yomichan/index.html
- [Linux/BSD/etc only] xsel or xclip, Windows and Mac are fine
Just copy the script to the proper folder in your mpv installation. In Unix systems it should be
cd ~/.config/mpv/scripts/
wget https://raw.githubusercontent.com/laelnasan/yomichampv/master/yomichampv.lua
This project is licensed under the ISC License - see the LICENSE.md file for details