Closed toooonyy closed 3 years ago
If you already have active=yes
set in the config, then now it should work (rich presence shows up in Discord) when you are playing something in mpv. See if the messages [discord] (discord-ipc): connected
and [discord] (mpv-ipc): connected
are printed to console.
Ah, I can see
[discord] Opened config file script-opts/discord.conf.
[discord] (mpv-ipc): /tmp/mpvsocket
[discord] mpv-discord v1.3.1 by tnychn
[discord] launched subprocess
but not other logs, so it's still not working?
Now if I run ./discord /tmp/mpvsocket
manually after opening mpv everything works fine.
Maybe cuz I'm on arm mac and luajit is broken?
Since you said the binary works fine when you launch it manually, the problem should be related to mpv and its LuaJIT instead. Note that the prebuilt Darwin binary you found on releases is for AMD64 Mac. Though I don't think it can work on ARM Mac.
Ok, then it's a arm problme.
Using macOS 10.14, mpv build with luajit
Is this a script or mpv's problem?You need to run
xattr -d com.apple.quarantine discord
first otherwise Apple block the binary from runing, but now how can I display the info in discord(I'm think the script is running properly rn?)