Re: Not played since filter: really working?
Igor Sosa Mayor <[email protected]> Sat, 29 Nov 2025 19:00:57 +0100
| Newsgroups | gmane.emacs.emms.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Erica, > (defun emms-filters-make-filter-has-played () > "Show only tracks that have been played." > #'(lambda (track) > (emms-track-get track 'last-played nil))) > > (emms-filters-register-filter-factory "Has played" > 'emms-filters-make-filter-has-played > '()) thanks a lot for the filter and for the explanation. It is really easier as I thought (and as I was trying to achieve it...). Nevertheless, I have a very simple and basic question: how is this code supposed to work? In the sense: where should I put this code? If I put it in my emms-conf.el I do not get any factory "Has played" in the filter menu... Sorry for the basic question. Many thanks in advance. Igor