[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emms-help] [PATCH] lisp/emms-player-mpv.el: Use emms-directory for mpv

From: Daniel Kraus
Subject: [emms-help] [PATCH] lisp/emms-player-mpv.el: Use emms-directory for mpv ipc socket file
Date: Tue, 26 Jun 2018 16:30:08 +0200

Don't litter mpv ipc files in the users emacs home directory
but put it it emms folder where all other emms related files are.
 lisp/emms-player-mpv.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emms-player-mpv.el b/lisp/emms-player-mpv.el
index 3cbdd26..2cee864 100644
--- a/lisp/emms-player-mpv.el
+++ b/lisp/emms-player-mpv.el
@@ -117,7 +117,7 @@ support for various feedback and metadata options from mpv."
   :group 'emms-player-mpv)

 (defcustom emms-player-mpv-ipc-socket
-  (expand-file-name (locate-user-emacs-file "emms-player-mpv-ipc.sock"))
+  (concat (file-name-as-directory emms-directory) "mpv-ipc.sock" )
   "Unix IPC socket or FIFO to use with mpv --input-* options,
 depending on `emms-player-mpv-ipc-method' value and/or mpv version."
   :type 'file

reply via email to

[Prev in Thread] Current Thread [Next in Thread]