open-dynamix / simple-mpv-webui Goto Github PK
View Code? Open in Web Editor NEWA web based user interface with controls for the mpv mediaplayer.
License: Other
A web based user interface with controls for the mpv mediaplayer.
License: Other
Is there an installation instruction for Linux?
How do I install luasocket in Ubuntu 22.04?
This is about the released version 0.3.1.
I put to mpv.conf the following setting:
script-opts=webui-audio-devices=pulse/combined pulse/alsa_output.pci-0000_00_01.1.hdmi-stereo pulse/alsa_output.pci-0000_00_14.2.analog-stereo
When mpv starts, the console shows the following:
[webui] script-opts: unknown key audio-devices, ignoring
So, the provided list doesn't have any effect.
Changing "webui-audio-devices" to "webui-audio_devices" fixes the problem, but the documentation says about "audio-devices".
The code should reflect the documentation.
I installed webui 2.1.0 in ~/.config/mpv/scripts, and mpv always prints this error message during start:
Cannot find main.* for any supported scripting backend in: ~/.config/mpv/scripts/webui-page
Webui seems to be working well.
Is anything wrong with my configuration?
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) with mpv
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.
Dependabot encountered the following error when parsing your .dependabot/config.yml
:
Automerging is not enabled for this account. You can enable it from the [account settings](https://app.dependabot.com/accounts/open-dynaMIX/settings) screen in your Dependabot dashboard.
Please update the config file to conform with Dependabot's specification using our docs and online validator.
Cannot get /apt/status when playing streamed file such as https://c5.prod.playlists.ihrhls.com/1469/playlist.m3u8
Error
Error: Not ready to handle requests.
When I start mpv with the script installed, I get the following error:
$ DISPLAY=:0 mpv --playlist-start=10 --start=0:00 /nfs/n40lnas/\[SubsPlease\]\ Shiroi\ Suna\ no\ Aquatope\ -\ *
cplayer: Cannot find main.* for any supported scripting backend in: /etc/mpv/scripts/webui-page
webui: v2.2.0
webui: [::]:8080
webui: 192.168.88.51:8080
cplayer: Playing: /nfs/n40lnas/[SubsPlease] Shiroi Suna no Aquatope - 11 (720p) [18AD4A03].mkv
cplayer: (+) Video --vid=1 (*) (h264 1280x720 23.976fps)
cplayer: (+) Audio --aid=1 --alang=jpn (*) (aac 2ch 44100Hz)
cplayer: (+) Subs --sid=1 --slang=eng (*) 'English subs' (ass)
vd: Using hardware decoding (nvdec-copy).
cplayer: AO: [alsa] 44100Hz stereo 2ch s32
cplayer: VO: [gpu] 1280x720 nv12
statusline: (Paused) AV: 00:00:14 / 00:23:37 (1%) A-V: 0.000 DS: 3.000/0 Cache: 285s/150MB
cplayer:
cplayer: Playing: /nfs/n40lnas/[SubsPlease] Shiroi Suna no Aquatope - 12 (720p) [3CEABAAE].mkv
webui: Could not fetch "remaining" from mpv.
webui: Could not fetch "chapters" from mpv.
webui: Could not fetch "position" from mpv.
webui: Could not fetch "metadata" from mpv.
webui: Could not fetch "duration" from mpv.
webui: This is normal during startup.
The script works otherwise. Is there some functionality lacking if main.*
cannot be found? Also, the options are not working for me in mpv.conf
. I am using script-opts=webui-static_dir='/etc/mpv/webui-page'
or '/etc/mpv/webui-page/static'
and the directory cannot be found.
This is about the release 0.3.1.
Let's not use audio-devices option in the command line or in the configuration. The documentation says "By default it uses all interfaces MPV knows of."
But in fact there is a problem with the default.
When mpv starts, no problems are reported. But when I press "Audio device" in the web interface, the following error is reported in the console:
[ao] Audio output 123456789101112131415161718 not found!
[ao] Failed to initialize audio driver '123456789101112131415161718'
Could not open/initialize audio device -> no sound.
I have a list of auto, pulse, alsa, jack and sdl audio devices according to "mpv --audio-device=help". But the mentioned above device is not present in the list.
Further attempts to press "Audio device" have no effect.
Expected result: all available to MPV audio devices should be cycled when I press "Audio device".
I'm on windows 10, and I updated mpv from the latest master version of v37 (14-04) to stable v38 (20-04) and now after a short time when I start mpv there is some loading and it closes, I went to remove the scripts one by one and it turns out that this is what causes it to crash. I don't know what may have been changed this week but if I remove this script everything works perfectly, can someone check?
this is the log file with the base v38 without settings and with only this script loaded: v38.log
Would be rather a chore, and having audio stream correctly even more so.... but, was interested in getting it to happen, so I could use audio with a handheld device (ie: phone) while viewing on an external device (ie: tv)
This is more of a wish than an issue, and would (probably) be at least some degree of a pain to implement (especially since the latency would be more variable than on-device).
Thank you.
Hallo
In issue #343 I noticed that I tried to put the collections path into the mpv.conf and this wouldnt work. But I made the error, that I didnt read the whole thing, that I need to add "--script-opts=" as mentioned in the Readme, under Options.
As parameter it works indeed (if I add --script-opts):
mpv --script-opts=webui-collections="C:\Users\f\Desktop\Filme" mymovie.mkv
Now I can check the content of that path with the api/collections:
https://192.168.0.161:8080/api/collections/c%3a%5cusers%5cf%5cdesktop%5cfilme
and as return I get the whole folders and subfolders under this directory.
But when I put the same in mpv.conf as:
script-opts=webui-collections="c:\users\f\desktop\filme"
it doesnt work, despite there are no errors thrown :(
I tried different writings in mpv.conf, all without success, e.g. (I uncommented one by one line):
# script-opts=webui-collections="C:\\Users\\f\\Desktop\\Filme"
# script-opts=webui-collections="C:\Users\f\Desktop\Filme"
# script-opts=webui-collections="c:\\users\\f\\desktop\\filme"
# script-opts=webui-collections="c:/users/f/desktop/filme"
# script-opts=webui-collections='c:/users/f/desktop/filme'
# script-opts=webui-collections='C:\\Users\\f\\Desktop\\Filme'
# script-opts=webui-collections='C:\Users\f\Desktop\Filme'
# script-opts=webui-collections='C:/Users/f/Desktop/Filme'
What could I possibly do wrong, or what is here not working?
Thanks, frank
PS.: This is with simple-mpv-webui 3.0.0 and mpv 2.0 on Windows 10
I used https://github.com/iwalton3/plex-mpv-shim for a while, and it runs in the background all the time, which is very convenient.
I found simple-mpv-webui when I was looking for something similar to use with youtube. I share youtube urls on my phone to iOS shortcut, it creates a post request to the /api, and the video starts playing on my PC. However, I have to keep the player open at all times to make this remote cast feature available, and it takes up space in the windows 10 taskbar.
Is it possible to make it run in the background similarly to the plex-mpv-shim? I'm not sure what lua scripts for mpv are capable of. Maybe some python server wrapper, that can be run as a service, is possible? Sadly I'm not experienced in a service scripting, so I decided to propose it as a feature.
Just to let you know that I have rewritten web portion in Elm. https://github.com/rofrol/elm-mpv-webui
Hi,
I just noticed that debug.getinfo(2, "S").source
on windows doesn't return (anymore?) a path prefixed by @. It returns the path directly.
So, :sub(2)
will remove the drive letter (e.g. Z:/path/to/mpv
→ :/path/to/mpv
) resulting in 404 error by the web server (because it cannot read any files).
This is very weird because it has been working before.
I recently upgraded both windows (version 2004) and mpv.
The maintainer of mpv windows release I use has recently made some changes to luajit:
shinchiro/mpv-winbuild-cmake@7040592
It could be any of these two changes.
I'm opening this issue just to inform any windows user of this plugin.
I don't think any change should be "officialy" made to webui.lua
file to fix this quirk,
but windows user might want to temporary modify that file removing :sub(2)
on line 12 in order to continue to use this plugin for the time being.
i like the idea of using through web ,
but i am not able to understand how can i use it with my android device?
i mean i use webui on PC which stream to TV . which i need to control from MOBILE HOWWW?
I've added the script to my mpv scripts folder (where I already have a functioning script) and it doesn't seem to be working properly. Opening an instance of MPV and entering the webui link into my webbrowser does nothing.
Is there any extra configuration needed?
Using
windows 10 x64 tested on 2004, 14393
mpv-0.32.0-x86_64 by shinchiro
The keystrokes don't get sent to mpv, pressing the buttons don't work as well, the webpage loads so it must be serving it. It works fine on windows 8.1. Uppon looking at the console the error is "Uncaught ReferenceError: send is not defined"
Thanks for the help.
when launching mpv it throws an error:
webui.lua:541: bad argument #1 to 'pairs' (table expected, got nil)
my setup is a raspberry pi 2 with devuan:
$ cat /etc/issue
Devuan GNU/Linux ascii \n \l
$ uname -a
Linux roadhouse 4.19.83-v7+ #1277 SMP Mon Nov 11 16:30:44 GMT 2019 armv7l GNU/Linux
what i did (mpv is already installed and working):
$ sudo apt install lua5.2 lua5.2-dev luarocks
$ sudo luarocks install luasocket
$ git clone https://github.com/open-dynaMIX/simple-mpv-webui.git
$ cp -a webui.lua webui-page ~/.config/mpv/scripts
$ mpv --no-video http://youtube.com/<something>
full error:
$ mpv --no-video 'https://youtu.be/C7L0eNPge98'
[webui]
[webui] stack traceback:
[webui] [C]: in function 'pairs'
[webui] /home/bamdad/simple-mpv-webui/webui.lua:541: in main chunk
[webui] [C]: in ?
[webui] [C]: in ?
[webui] Lua error: /home/bamdad/simple-mpv-webui/webui.lua:541: bad argument #1 to 'pairs' (table expected, got nil)
Playing: https://youtu.be/C7L0eNPge98
^C
Exiting... (Quit)
am i doing something horribly wrong?
thanks,
bamdad
The goal is to make the position and volume sliders behave identical in safari and android.
This means:
Hi,
I am trying to run this on an old android phone inside a termux environment to use it as a wireless music station.
Unfortunately I am gettings the following error:
~/KH-Disc 1 $ mpv .
[simple_mpv_webui]
[simple_mpv_webui] stack traceback:
[simple_mpv_webui] [C]: in ?
[simple_mpv_webui] [C]: in function 'require'
[simple_mpv_webui] /data/data/com.termux/files/usr/share/lua/5.2/socket.lua:12: in main chunk
[simple_mpv_webui] [C]: in function 'require'
[simple_mpv_webui] ...files/home/.config/mpv/scripts/simple-mpv-webui/main.lua:4: in main chunk
[simple_mpv_webui] [C]: in ?
[simple_mpv_webui] [C]: in ?
[simple_mpv_webui] Lua error: error loading module 'socket.core' from file '/data/data/com.termux/files/usr/lib/lua/5.2/socket/core.so':
[simple_mpv_webui] dlopen failed: cannot locate symbol "lua_createtable" referenced by "/data/data/com.termux/files/usr/lib/lua/5.2/socket/core.so"...
[file] This is a directory - adding to playlist.
lua -v
gives me
~/KH-Disc 1 $ lua -v
Lua 5.2.4 Copyright (C) 1994-2015 Lua.org, PUC-Rio
Additionally, luasocket I have installed using luarocks the following way:
~/KH-Disc 1 $ luarocks --lua-version 5.2 install luasocket
Warning: falling back to wget - install luasec to get native HTTPS support
Installing https://luarocks.org/luasocket-3.1.0-1.src.rock
luasocket 3.1.0-1 depends on lua >= 5.1 (5.2-1 provided by VM)
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/mime.c -o src/mime.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/compat.c -o src/compat.o -DLUASOCKET_DEBUG
gcc -shared -o mime/core.so src/mime.o src/compat.o
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/compat.c -o src/compat.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/options.c -o src/options.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/io.c -o src/io.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/serial.c -o src/serial.o -DLUASOCKET_DEBUG
gcc -shared -o socket/serial.so src/buffer.o src/compat.o src/auxiliar.o src/options.o src/timeout.o src/io.o src/usocket.o src/serial.o
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/compat.c -o src/compat.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/options.c -o src/options.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/io.c -o src/io.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/unix.c -o src/unix.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/unixdgram.c -o src/unixdgram.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/unixstream.c -o src/unixstream.o -DLUASOCKET_DEBUG
gcc -shared -o socket/unix.so src/buffer.o src/compat.o src/auxiliar.o src/options.o src/timeout.o src/io.o src/usocket.o src/unix.o src/unixdgram.o src/unixstream.o
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/luasocket.c -o src/luasocket.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/io.c -o src/io.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/options.c -o src/options.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/inet.c -o src/inet.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/except.c -o src/except.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/select.c -o src/select.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/tcp.c -o src/tcp.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/udp.c -o src/udp.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/compat.c -o src/compat.o -DLUASOCKET_DEBUG
gcc -O2 -fPIC -I/data/data/com.termux/files/usr/include/lua5.2 -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG
gcc -shared -o socket/core.so src/luasocket.o src/timeout.o src/buffer.o src/io.o src/auxiliar.o src/options.o src/inet.o src/except.o src/select.o src/tcp.o src/udp.o src/compat.o src/usocket.o
luasocket 3.1.0-1 is now installed in /data/data/com.termux/files/usr (license: MIT)
Checking stability of dependencies in the absence of
luasocket 3.0rc1-2...
Removing luasocket 3.0rc1-2...
Removal successful.
Any advice how I could get this script running properly?
Thanks
Hi,
I am using MPV compiled without audio and subtitles. Is there a possibility to detect if audio and or subtitle support is deactivated and include that information in one of the api endpoints response such that the webui can remove or disable the subtitle and audio related buttons?
Path in Windows doesn't work either its COllection or httpasswd.
Frequently crashing i n Windows just after clicking any button in web-ui
I know it's not right to blame the dev because I'm a user that didnt read the whole readme and am intoxicated by my windows upbringing but please make it more clear at the start of the readme or something that this has dependencies that aren't included by default. I have been freaking out all day and was about to give up MPV because it was my first time installing it and seeing that plugins didnt work and that windows users are 'second-class' made me miserable.
Especially at the part after Usage, when I see dependencies my brain already is thinking "ok something included already in the download probably, it just says clone the repo", and I didn't see that the installing for mpv <v0.33.0 was a dropdown so I just didn't read it because I was on a newer version and completely missed the thing about dependency information.
I've installed all dependencies but not working. mpv is crashing at launch!
Hallo
still thanks for the great work, really use and appreciate it :)
I have a Feature Request: could it be possible to open a file from the computer, where mpv is running, so that mpv will play it, using your WebUI?
I can start mpv remotely in the foreground with ssh (same user than the console user) on a Windows 10 Computer with:
schtasks /create /TN RunMPV /RU DeinUser /tr mpv.exe /sc EINMAL /ST 00:00
and then start mpv in the foreground with:
schtasks /run /tn RunMPV
The WebUI is indeed active, I can do commands (fullscreen e.g.) to mpv, but I cannot load a movie or file.
It would be great if I would get grip of the Desktop or the user's folder in a Dialog or List to open something.
Thanks!
frank
This is hardcoded to alsa
and alsa/hdmi
right now.
This should...
Hi!
Really love the interface, however I've run into a strange issue. Please bear with me, as it's a little esoteric:
I currently have VLC serving a FLAC stream of my HTPC's audio over HTTP. Everything I play with MPV by itself plays fine over HTTP/FLAC with no issues. However, if I drop simple-mpv-webui in there and start MPV up, the audio starts to play as usual, but the HTTP stream will get knocked off the client (e.g. the stream closes and has to be manually reconnected) every time the webui interface sends MPV a GET request to refresh the UI. This seems entirely localized to the HTTP stream, as MPV and the audio media continue to play fine over the HTPC's hardware connection while all this is happening.
I should also mention that the HTTP stream and simple-mpv-webui run on different ports, so I've eliminated that as a possible error source. I've spent the better part of this afternoon pinning this issue down, so I'm fairly confident it's a real thing, but I'm at a loss as to what logs/info would be required to isolate and fix this. Please let me know and I will gladly gather whatever's necessary.
Thanks!
Somehow, it is trying to load stuff from lua 5.2. Installed from master (8429305), also installed packages lua-socket*' through
apt installand
luarocksas described in
README.md`.
Error message:
[webui]
[webui] stack traceback:
[webui] [C]: in function 'require'
[webui] /home/hyiltiz/.config/mpv/scripts/webui.lua:4: in main chunk
[webui] [C]: in ?
[webui] [C]: in ?
[webui] Lua error: /home/hyiltiz/.config/mpv/scripts/webui.lua:4: module 'socket' not found:
[webui] no field package.preload['socket']
[webui] no file '/usr/local/share/lua/5.2/socket.lua'
[webui] no file '/usr/local/share/lua/5.2/socket/init.lua'
[webui] no file '/usr/local/lib/lua/5.2/socket.lua'
[webui] no file '/usr/local/lib/lua/5.2/socket/init.lua'
[webui] no file '/usr/share/lua/5.2/socket.lua'
[webui] no file '/usr/share/lua/5.2/socket/init.lua'
[webui] no file '/usr/local/lib/lua/5.2/socket.so'
[webui] no file '/usr/lib/x86_64-linux-gnu/lua/5.2/socket.so'
[webui] no file '/usr/lib/lua/5.2/socket.so'
[webui] no file '/usr/local/lib/lua/5.2/loadall.so'
mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
ffmpeg library versions:
libavutil 56.51.100
libavcodec 58.91.100
libavformat 58.45.100
libswscale 5.7.100
libavfilter 7.85.100
libswresample 3.7.100
ffmpeg version: 4.3-3+b1
Linux version 5.7.0-1-amd64 ([email protected]) (gcc version 9.3.0 (Debian 9.3.0-14), GNU ld (GNU Binutils for Debian) 2.34) #1 SMP Debian 5.7.6-1 (2020-06-24)
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux bullseye/sid
Release: testing
Codename: bullseye
Hallo
I use mpv to show movies to my children, but not too long, only some few minutes, e.g. old Disney Cartoons.
I start the movies (full play time about 3 hours) from a start time to an end time with the options --start= and --end=
To show the end option, and to know when the kids movie-time will be over, I write the end time additionaly to the screen, with e.g.: --osg-msg1="Ende: 7:24", so I can see, how many time left (e.g. by pressing "o" to see the actual time tag).
Now I found this great tool here, simple-mpv-webui, which is a good help already, I can see on my phone (without need to stay in the movie-room), at what time the movie is.
But I have to remember the end-time, it is not to find in the WebUI page.
Could it be done theoretically that the webui.lua hands over the mpv-options (--start and --end) to the WebUI?
Or is that beyond the scope of the capabilities of lua scripts?
I don't know if Lua can get grip of that.
Thanks for hints.
frank
EDIT: I found this documentation: LUA SCRIPTING about it, but it would take hours for me to understand it 😢
why there is no web-ui.conf
which goes to /config/sciprt-opts/webui.conf
i mean i read options but not seem to have configuration file?
am i wrong?
also the option webui-
threw me this error 🙏 i dont know what i did wrong
if i used cli parameters like --webui-osd_logging=yes
got this error
Users should have the function to remove, modify, changing the order, size of the tile and add new tiles.
Example 1: I wanna change the name of the tile *Slower*
to -0.5% and change the color to purple.
Example 2: Adding a tile to open the Info menu `(Shift+I)
Example 3: Adding a tile to activate/deactivate debanding
Playing: Music/Compilations/Guradians of the Galaxy vol. 1/The Sweet Fox On The Run.mp3
[ffmpeg/demuxer] mp3: Estimating duration from bitrate, this may be inaccurate
Video --vid=1 [P] (mjpeg 316x316)
(+) Audio --aid=1 (mp3 2ch 44100Hz)
File tags:
Artist: The Sweet
Album: Guardians of the Galaxy: Awesome Mix, Vol. 2
Album_Artist: Various Artists
Composer: Dawn Foxes Music
Genre: Soundtrack
Performer: Dawn Foxes Music
Title: Fox on the Run (Single Version)
Track: 2
AO: [pulse] 44100Hz stereo 2ch s16
[webui]
[webui] stack traceback:
[webui] /home/alexander/.config/mpv/scripts/webui.lua:173: in function 'round'
[webui] /home/alexander/.config/mpv/scripts/webui.lua:243: in function 'build_json_response'
[webui] /home/alexander/.config/mpv/scripts/webui.lua:277: in function </home/alexander/.config/mpv/scripts/webui.lua:276>
[webui] (...tail calls...)
[webui] /home/alexander/.config/mpv/scripts/webui.lua:371: in function 'listen'
[webui] /home/alexander/.config/mpv/scripts/webui.lua:408: in function 'cb'
[webui] mp.defaults:320: in function 'process_timers'
[webui] mp.defaults:478: in function 'dispatch_events'
[webui] mp.defaults:451: in function <mp.defaults:450>
[webui] [C]: in ?
[webui] [C]: in ?
[webui] Lua error: /home/alexander/.config/mpv/scripts/webui.lua:173: attempt to perform arithmetic on local 'a' (a nil value)
this causes a crash of the webui.
guessing this wasn't meant to be an absolute symlink
setup.cfg -> /home/fabio/code/simple-mpv-webui/tests/setup.cfg
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Hey @open-dynaMIX !
I'm the developer of mpv-remote-app
We've talked about switching to your backend. I've an idea how filebrowser extension can be implemented, for handling collections on my frontend app.
API route for example:
/api/browse_files/"<directory_path1>";"<directory_path2>";
We should only get response of supported formats by MPV, file formats can be found here
The response should return sub-directories first and files afterwards, but it's not big deal to implement this on my frontend, if you don't implement it.
Response (something like this):
[
{
"fullPath": "/home/user/media/subdir1",
"name": "subdir1",
"type": "directory"
},
{
"fullPath": "/home/user/media/subdir2",
"name": "subdir2",
"type": "directory"
},
{
"fullPath": "/home/user/media/movie.mkv",
"name": "movie.mkv",
"type": "video",
},
{
"fullPath": "/home/user/media/movie.ass",
"name": "movie.ass",
"type": "subtitle",
},
{
"fullPath": "/home/user/media1/music.mp3",
"name": "music.mp3",
"type": "audio",
},
]
My implementation of this on node backend
If you need any more info please let me know. I would implement this by myself, but I don't have Lua coding experience.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.