[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A couple of questions
From: |
Mike Kazantsev |
Subject: |
Re: A couple of questions |
Date: |
Thu, 21 Nov 2024 23:57:06 +0500 |
On Wed, 20 Nov 2024 20:38:46 -0500
Yoni Rabkin <yoni@rabkins.net> wrote:
> George Hadow <georgehadow@gmail.com> writes:
>
> >> --> good to know about `emms-toggle-single-track', but shame it
> >> doesn't work currently with mpv
>
> Do you know why emms-player-mpv doesn't work with emms-single-track? I
> don't mind looking at it, but perhaps it is trivially clear to you.
I think emms-next-noerror is missing (with-current-emms-playlist ...)
wrapper around (cond ... (emms-single-track (emms-stop))) at least.
Putting a debug-printf like this in there:
(message "emms-next-noerror: single-track=%S buff=%S"
emms-single-track (current-buffer))
Seem to confirm that #<buffer *emms-player-mpv-ipc*> is active there,
as it is the caller of that func, and var in there is set to nil
(even if set to t in playlist buffer).
I think straightforward fix is to wrap that var check into
(with-current-emms-playlist ...) in emms-next-noerror, same as it's
done when toggling the variable.
--
Mike Kazantsev // fraggod.net
- A couple of questions, George Hadow, 2024/11/18
- Re: A couple of questions, Yoni Rabkin, 2024/11/18
- Re: A couple of questions, Yoni Rabkin, 2024/11/21
- Re: A couple of questions, George Hadow, 2024/11/21
- Re: A couple of questions, George Hadow, 2024/11/21
- Re: A couple of questions, Yoni Rabkin, 2024/11/21
- Re: A couple of questions, George Hadow, 2024/11/22
- Re: A couple of questions, Yoni Rabkin, 2024/11/29