emms-help
[Top][All Lists]
Advanced

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

[emms-help] [PATCH] Follow symlinks when using GNU find


From: Maxim Cournoyer
Subject: [emms-help] [PATCH] Follow symlinks when using GNU find
Date: Wed, 13 Sep 2017 15:40:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi!

When choosing `emms-source-file-directory-tree-find' as the function to
perform file discovery with the following snippet in my .emacs:

--8<---------------cut here---------------start------------->8---
(require 'emms-setup)
(emms-all)
(emms-default-players)
(setq emms-source-file-directory-tree-function
      #'emms-source-file-directory-tree-find)
(setq emms-source-file-default-directory "~/Music/")
--8<---------------cut here---------------end--------------->8---

Then when using M-x emms-add-directory-tree RET ~/Music/ RET, symlinks
are not followed (I have a symlink pointing to a music collection on
external storage). This was reported in 2014[1] but it seems that it
failed to be noticed/merged (as of EMMS 4.3).

The attached trivial (one line) patch adds the -L option to the
find command and enables the use of symlinks in a music collection
directory.

Thanks for this useful of software!

Maxim

[1]  https://lists.gnu.org/archive/html/emms-help/2014-01/msg00003.html

Attachment: 0001-lisp-Follow-symlinks-when-using-GNU-find.patch
Description: Text Data


reply via email to

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