noaione / mpv-js-scripts

Some mpv scripts I created (made in JS)
26 stars 2 forks source link

[Feature Request] Add `screenshotDir` to be configurable in script-opts #1

Closed WhoMI7 closed 1 year ago

WhoMI7 commented 1 year ago

Since scripts fails to run if there isn't a folder named screenshot-mosaic in the config directory. Also it didn't make mosaic of those screenshots just saved the raw screenshots for me.

noaione commented 1 year ago

Since scripts fails to run if there isn't a folder named screenshot-mosaic in the config directory.

I'm fixing this right now, I think the createDirectory command just fails.

Also it didn't make mosaic of those screenshots just saved the raw screenshots for me.

Do you have ImageMagick instealled? I forgot to mention it on the README

noaione commented 1 year ago

I've updated the code https://github.com/noaione/mpv-js-scripts/commit/8d6d2de48ce597f55b48b4d9d69c801f9da7b3b1

You can download the latest version from the dist folder, it should fix the createDirectory at least. For the second one, make sure you have ImageMagick installed and it to the PATH: https://imagemagick.org/script/download.php

WhoMI7 commented 1 year ago

Yeah, fixed