poxu / runmpv

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

Take runmpv tmp directory from runmpv parameters #39

Closed poxu closed 2 years ago

poxu commented 2 years ago

runmpv needs a directory, where it could put domain sockets on linux. And maybe other temporary things. Right now this directory is taken from XDG_RUNTIME_DIR environment variable and if XDG_RUNTIME_DIR is not defined, then runmpv puts its tmp files to /tmp .

Windows doesn't use tmp directory, but that might change in future

User should be able to specify this directory either in runmpv.properties or through command line switches.