`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 term 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"


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

Reply via email to