|
From: | Igor Sosa Mayor |
Subject: | Re: Is emms-cache-sync really working without problems? |
Date: | Sat, 23 Nov 2024 23:32:04 +0100 |
User-agent: | Mozilla Thunderbird |
On 23/11/24 14:32, Fran Burstall (Gmail) wrote:
The following little function works for me: I run it after new music has arrived.(defun emms-add-files-to-cache () "Search music library for new tracks and add them to the cache." (interactive) (mapc (lambda (file) (emms-track 'file file)) (seq-filter #'(lambda (path) (not (gethash path emms-cache-db)))(directory-files-recursively "/media/shared/music" "\.mp3$\ \|\.wav$\\|\.aif$\\|\.ogg"))))---Fran
[Prev in Thread] | Current Thread | [Next in Thread] |