[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emms-help] emms-player-mpg321-remote patch to make it autoplay on n
Re: [emms-help] emms-player-mpg321-remote patch to make it autoplay on newest version of mpg321
Thu, 01 Jun 2017 19:54:11 -0400
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
pin to <address@hidden> writes:
> According to the link in the patch @P3 signals stop and that was the
> only signal I ever got so I added it and now autoplay works. Please
> consider adding this to the emms files in order to help people in the
> same boat as I was.
This has been applied, including fixing your paren weirdness (look at
the bit after the second 'cadr data'). Can you please check this against
the git version?
Thank you for the patch.
> Patch follows
> commit a23d5f19ab5efbc5f57162153c5ec448aa493723
> Author: pinto <address@hidden>
> Date: Tue May 30 22:23:19 2017 +0000
> This fixes auto playing not working. Seems @P3 is the new mpg321
> signal for song being over, so both P0 and P3 should be checked. SRC:
> diff --git a/lisp/emms-player-mpg321-remote.el
> index 85f506c..8afe11a 100644
> --- a/lisp/emms-player-mpg321-remote.el
> +++ b/lisp/emms-player-mpg321-remote.el
> @@ -153,7 +153,7 @@ For example: (list \"-o\" \"alsa\")"
> ;; stop notice
> ((and (string= cmd "@P")
> - (string= (cadr data) "0"))
> + (or (string= (cadr data) "0") (string= (cadr data "3") ))
> ;; frame notice
> ((string= cmd "@F")
> Emms-help mailing list
"Cut your own wood and it will warm you twice"
|[Prev in Thread]
||[Next in Thread]|
- Re: [emms-help] emms-player-mpg321-remote patch to make it autoplay on newest version of mpg321,
Yoni Rabkin <=