Closed emk2203 closed 4 years ago
I have this https://github.com/rofrol/elm-mpv-webui/blob/master/README.md#lua instruction for Ubuntu. Maybe this will help you.
@emk2203 It would be great to have some documentation about that.
I don't use any Windows systems (didn't even know it works under Windows). If you could provide the necessary steps (or even better, make a PR), that would be great!
I'll give it a try, but I am more a Linux guy myself, the only significant windows usage is on this HTPC, with Windows for historical reasons. So, if anyone else can step up to the challenge, I would be more than happy.
I confirm it works under Windows. You need to:
I admit it is a nuisance having to pass through the whole process (especially on Windows), so perhaps it's better to distribute the binaries. Both luajit and luasocket are distributed with MIT license, so there should not be any problem doing so.
P.s. I tested this with shinchiro mpv x64 pre-built releases: https://github.com/shinchiro/mpv-winbuild-cmake. The compiler I used is gcc 7.2.0 (MinGW 64)
P.p.s. I made a guide + prebuilt libraries for 64 bit: https://github.com/chuck-/simple-mpv-webui-windows-libs Feel free to embed the guide somewhere in this repo, if you want to.
@chuck- Awesome, thanks a lot! I have included a link to your repo in the README.
You're welcome, glad to have been of help!
If you want to run this on Windows, it is difficult to see where to get
luasocket
and where to put it on a minimal Windows install (HTPC) withmpv
only, not a full Lua install.It would be helpful to point the procedure out in the instructions. This would also broaden the user range to Windows users.