[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emms-help] emms-player-mpg321-remote patch to make it autoplay on newes

From: pin to
Subject: [emms-help] emms-player-mpg321-remote patch to make it autoplay on newest version of mpg321
Date: Tue, 30 May 2017 17:38:02 -0500

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.

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")

Attachment: mpg321-remote-autoplay-update-fix.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]