Releases: tnychn/mpv-discord
Releases 路 tnychn/mpv-discord
v1.6.1
v1.6.0
v1.5.0
v1.4.1
v1.3.1
- FIX(#1): this is the second (and hopefully the last) attempt to fix this issue
Usesmp.command_native_async()
instead ofio.popen()
to launch the subprocess.
This function allows more control of the subprocess i.e. terminating it by callingmp.abort_async_command()
.
It also has a mechanism that terminates the subprocess when mpv shuts down. This can avoid hanging the process when mpv is trying to quit. For more information, see https://mpv.io/manual/stable/#asynchronous-command-details. - NEW(#3): (Pull Request: #4 by @JoschuaL) the IPC socket path for
input-ipc-server
is now made configurable
Uses a static path that defaults to the/tmp/mpvsocket
. The path can be set by thesocket_path
option in the config file.
The path can also be dynamic if theuse_static_socket_path
option is set to 'yes' in the config file. The filename of the dynamic path will be in the format ofmpv-discord-1234
where1234
is the PID of the mpv instance. Then, thesocket_path
option will be used as the directory prefix of the path (defaults to/tmp/
).