Open xNinjaKittyx opened 4 years ago
Current script didn't works with stable mpv 0.32.0, i mention it here
mpv package from repo was builted with lua52
while if you use lua-discordRPC
backend it wouldn't works because it need luajit
package not ( lua51
, lua52
, even lua
(5.3.x version) )
@xNinjaKittyx my recomendation, read this and then rebuild your own mpv package with custom PKGBUILD
hopefully this can solve your problem
@cniw so to be clear, this doesn't work unless you build mpv yourself?
@indeedwatson yes
For anyone who can't get this working or don't want to build mpv yourself, maybe you could check out my alternative version: https://github.com/tnychn/mpv-discord.
It's cross-platform and without any dependencies (no luajit
and python
needed), except a single Go binary which is already prebuilt in the repository. Though it does not support catalogs (planned feature?). Installer scripts for Windows, Linux and OSX are provided.
It was tested working with mpv v0.33.0 on OSX.
Manjaro Linux 5.6.10-3 mpv 0.32.0 Lua 5.3.5
Running this script with -v, i see the following error...
The scripts are correctly there. I tried referencing main.lua directly using
--script=...
but that ended up failing to import the catalogs.lua script.Then I tried moving catalogs.lua and the other lua script into the PWD, I had the config file point to python, but for some reason it wasn't respecting the scripts-opt folder and tried to run the lua script (which failed because I don't have ffi installed).
I was wondering if this was related to https://github.com/mpv-player/mpv/issues/7399