This project is based off of a site that Matt gracefully hosts over at https://texthooker.com/. I have pulled down his code and modified it here for use when running locally / without an internet connection. I also made a couple improvements of my own, including removing the reliance on a deprecated version of jQuery, using a slightly more responsive and accessible layout, and swapping in a font that I preferred to what Matt was using. 😉
- Install the clipboard inserter Chrome extension and allow access to file URLs in settings
- Install the
mpvatious
mpv script - Open
index.html
in Chrome and make sure clipboard inserter extension is turned "on" - Open a video file in mpv and configure
mpvatious
to copy subtitles to clipboard (configurable by pressinga
, thent
)
For some suggested mpv defaults, feel free to borrow from my mpv_defaults
setup script!