Re: Not played since filter: really working?

Erica Qi <[email protected]> Wed, 26 Nov 2025 00:21:03 +0000
Newsgroups gmane.emacs.emms.user
Message-ID <Z74HQPA8EFkafTVwLBv6whkVpGlNH25sTEA7C2PQbVFR94v6zcIXANe2tKJbd1ez7WD3azr3c95af7o9ftgAxcnjthIIaonTPGsD1oig9vY=@proton.me>
Yes of course.

I responded this morning but I must have been on the wrong email account.
I'll take a look.
Erica.

Sent from Proton Mail for Android.

-------- Original Message --------
On Tuesday, 11/25/25 at 13:14 Yoni Rabkin <[email protected]> wrote:
Igor Sosa Mayor <[email protected]> writes:

> Hi emms-users,
>
> I have already a small problem. In this case with the filter factory
> defined as "Not played since". If I filter my tracks with "Played
> since" and "Not played since" 30 days, I get exactly the same
> results... Either it is a problem with the way my tracks are storing
> the time or a problem with the code.
>
> More precisely my question is: is this code working at expected?
>
> (defun emms-filters-make-filter-not-played-within (days)
>   "Make a not played since DAYS filter."
>   (lambda (track)
>     (funcall (emms-filters-make-filter-played-within days) track)))
>
> Thanks in advance!

Erica, can you please have a look into this when you have time?

--
   "Cut your own wood and it will warm you twice"