poxu / runmpv

Runner, which allows to have only one mpv instance on Windows and Linux
6 stars 0 forks source link

Support absolute path for pipeName setting in Linux #23

Open poxu opened 2 years ago

poxu commented 2 years ago

Sometimes third party apps need to perform IPC with mpv. In case of using them it might be convenient to manually specify absolute path to controlling socket, which runmpv will use. Alternative is finding out how runmpv constructs socket path and putting this path to third party software settings.

This approach will only work in case of openMode=single-instance though, as openMode=instance-per-directory creates a new socket for each directory.