Giter Club home page Giter Club logo

Comments (6)

57op avatar 57op commented on June 30, 2024 2

I confirm it works under Windows.
You need to:

  1. build luajit (latest stable version, currently 2.0.5).
  2. place luajit-<version>/src/lua51.dll in the same folder as mpv
  3. build luasocket (easier with the help of luarocks) or download binaries somewhere (I've seen many releases, search on luapower)
  4. place socket/core.dll and mime/core.dll, lua/{socket,*.lua} inside mpv folder
  5. install (and configure) this script
  6. profit

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.

from simple-mpv-webui.

rofrol avatar rofrol commented on June 30, 2024

I have this https://github.com/rofrol/elm-mpv-webui/blob/master/README.md#lua instruction for Ubuntu. Maybe this will help you.

from simple-mpv-webui.

open-dynaMIX avatar open-dynaMIX commented on June 30, 2024

@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!

from simple-mpv-webui.

emk2203 avatar emk2203 commented on June 30, 2024

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.

from simple-mpv-webui.

open-dynaMIX avatar open-dynaMIX commented on June 30, 2024

@chuck- Awesome, thanks a lot! I have included a link to your repo in the README.

from simple-mpv-webui.

57op avatar 57op commented on June 30, 2024

You're welcome, glad to have been of help!

from simple-mpv-webui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.