ajatt.lua
is a script makes copying and translating subtitles a breeze.
It's heavily inspired by the awesome Animelon.
It allows the user to either copy the current subtitles line, or open it up in Jisho.org
- Download the latest windows mpv build.
- Extract it using 7zip. Ex:
C:\mpv\
. - Navigate to mpv's
installer\
folder. Ex:C:\mpv\installer\
. - Right-Click
mpv-install.bat
-> Run As Administrator. - Wait for the script to finish.
- You should now be able to right click any video file and open it with mpv.
- Open up the file browser.
- Navigate here -
%APPDATA%\mpv
. - Create a folder called
scripts
. - Place
ajatt.lua
inside thescripts
folder. - mpv will now load
ajatt.lua
automatically.
Keybinding | Function |
---|---|
Shift + x |
Copy the current subtitles line into clipboard |
Shift + k |
Open the current subtitles line in Jisho |
Keybinding | Function |
---|---|
v |
toggle subtitles visibility on/off |
Ctrl + left/right |
Seek to previous/next subtitles line (works when the subtitles are invisible!) |
Alt + up/down |
Hiding hardcoded subtitles (vertical video panning) |
You can find the full list of mpv's keybindings here.
Changing the keybinding is very easy.
Simply open up ajatt.lua
in your favorite text editor,
scroll down to the bottom of the file, and change the last lines to your liking.
Keep in mind that i've only tested this on Windows 10. It will only work on Windows, but it should be very straight forward to port to other OSes.
You need to grab the error / exception string from mpv via the command prompt -
- Open the Windows command prompt
cd C:\mpv
mpv.exe my_cool_anime.mkv
- Perform the broken functionality...
- Copy the error from the command prompt
Feel free to either open up a issue here after getting the error message / crash report (see above). Or just ping me on the Discord server.