aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2017-06-01 19:51:38 -0400
committerYoni Rabkin <yoni@rabkins.net>2017-06-01 19:51:38 -0400
commit0481ca3b8f8d558e545582440dde6dac514818fe (patch)
tree200a37dcef37207f1b43ab0c3c2b4cb375c3d14e /lisp
parent179e8e73f501115a9b0c73056846d80809d5a144 (diff)
* lisp/emms-player-mpg321-remote.el: fix signal
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: https://www.apt-browse.org/browse/debian/wheezy/main/i386/mpg321/0.3.2-1.1/file/usr/share/doc/mpg321/README.remote Patch (trivial) from <pintolo1234@gmail.com>
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emms-player-mpg321-remote.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emms-player-mpg321-remote.el b/lisp/emms-player-mpg321-remote.el
index 85f506c..de242ea 100644
--- a/lisp/emms-player-mpg321-remote.el
+++ b/lisp/emms-player-mpg321-remote.el
@@ -153,7 +153,8 @@ For example: (list \"-o\" \"alsa\")"
(cond
;; stop notice
((and (string= cmd "@P")
- (string= (cadr data) "0"))
+ (or (string= (cadr data) "0")
+ (string= (cadr data) "3")))
(emms-player-mpg321-remote-notify-emms))
;; frame notice
((string= cmd "@F")