Skip to content

mpvSyncplaySocket created in $HOME #674

@notpeelz

Description

@notpeelz

Describe the bug
Since 459c9e9, a file named mpvSyncplaySocket is created in my home folder.

Expected behavior
On Linux, these kind of files would normally be created under $XDG_RUNTIME_DIR.
This env var might be undefined on non-systemd setups, in which case it should probably default to $TMPDIR (and fall back to /tmp if undefined).

Or as the XDG Base Directory spec puts it:

$XDG_RUNTIME_DIR defines the base directory relative to which user-specific non-essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored.

You can find more information about the standard file hierarchy (as defined by systemd) here: https://man7.org/linux/man-pages/man7/file-hierarchy.7.html

Version and platform:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions