This is a template for writing MPV scripts using TypeScript.
- Ensure a recent version of Node.js is installed
- (Optional) Fork this repository
- Clone into your MPV scripts directory. On Linux, this would be
~/.config/mpv/scripts/
- In the newly created folder, run
npm install
. - Compile and run using
npm run mpv