Video

simple-mpv-webui

Rina Kawakita 2020. 2. 1. 14:59

simple-mpv-webui

...is a web based user interface with controls for the mpv mediaplayer.

 

https://github.com/open-dynaMIX/simple-mpv-webui

 

open-dynaMIX/simple-mpv-webui

...is a web based user interface with controls for the mpv mediaplayer. - open-dynaMIX/simple-mpv-webui

github.com

Usage

To use it, simply copy webui.lua and the webui-page-folder to ~/.config/mpv/scripts/, mpv will then run it automatically.

Alternatively you can also use the --script option from mpv or add something like scripts-add=/path/to/simple-mpv-webui/webui.lua to mpv.conf.

You can access the webui when accessing http://127.0.0.1:8080 or http://[::1]:8080 in your webbrowser.

By default it listens on 0.0.0.0:8080 and [::0]:8080. As described below, this can be changed.

 

Install in arch

$ yay -S luarocks lua lua52 lua52-socket

 

~/.config/mpv/scripts/.htpasswd

user1:password1
user2:password2