Re: Is emms-cache-sync really working without problems?
Igor Sosa Mayor <[email protected]> Sat, 23 Nov 2024 23:32:04 +0100
| Newsgroups | gmane.emacs.emms.user |
|---|---|
| Message-ID | <[email protected]> |
Very interesting, thanks! I think, this will solve at least part of my problems! 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 >