Comments (6)
I confirm it works under Windows.
You need to:
- build luajit (latest stable version, currently 2.0.5).
- place luajit-<version>/src/lua51.dll in the same folder as mpv
- build luasocket (easier with the help of luarocks) or download binaries somewhere (I've seen many releases, search on luapower)
- place socket/core.dll and mime/core.dll, lua/{socket,*.lua} inside mpv folder
- install (and configure) this script
- 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.
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.
@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.
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.
@chuck- Awesome, thanks a lot! I have included a link to your repo in the README.
from simple-mpv-webui.
You're welcome, glad to have been of help!
from simple-mpv-webui.
Related Issues (20)
- About collection handling HOT 4
- FR - Show mpv-start-options in the WebUI HOT 7
- Feature Request: open a file to play through the WebUI HOT 11
- error at startup: cannot find main.* for scripting backend HOT 5
- script-opts=webui-collections in mpv.conf is not working HOT 1
- Feature Request: Option to run server in the background and open player only when somethings starts playing HOT 1
- please give that webui.conf file HOT 7
- Not working in Windows 11 !! HOT 1
- [Windows] calling 'send' on bad self (tcp{client} expected) HOT 2
- collections have been defined but the list is empty. HOT 4
- what im dong wrong ? HOT 1
- remove unwanted text when opening HOT 4
- do we have `web-ui.conf` ? HOT 3
- FIX readme.md / wrong options HOT 2
- access from phone? / using another device browser HOT 2
- Lua error: error loading module 'socket.core' HOT 5
- Is there an installation instruction for Linux? HOT 1
- Please make it more clear that this uses dependencies!
- Feature Request: Add/Modify Tiles
- Crash of mpv v0.38.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-mpv-webui.