Apologies if this message arrives twice.

`emms-next' and friends skip to the next song and start playing even if
Emms is currently stopped.

I think that a more general method of calling track movement while
preserving the current playing state can be implementing `emms-next',
`emms-previous' and other track movement functions in terms of something
like:

(defmacro emms-track-change (fun)
  `(lambda ()
     ,@(if emms-player-playing-p
        (list '(emms-stop) fun '(emms-start))
         (list fun))))

(defun emms-next ()
   (funcall (emms-track-change (emms-playlist-select-next))))

...or not.

-- 
"Cut your own wood and it will warm you twice"
        Regards, Yoni Rabkin Katzenell


_______________________________________________
Emms-help mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to