|
|
前提是已安装mpg321。
在.emacs中加入:
(setq mp3play-dirlist '("~/mp3")
;; I want to see the remaining time
mp3play-show-timing 1
;; Where to store the info about the song playing to resume later
mp3play-resume-file "~/.mp3play-resume")
(load "mp3play")
;; M-\ go to the mp3play buffer
(define-key global-map [(meta \\)] 'mp3play)
;; C-x C-m C-s stops the current mp3
(define-key global-map [(control x) (control m) (control s)] 'mp3play-stop)
;; C-x C-m C-p pauses it
(define-key global-map [(control x) (control m) (control p)] 'mp3play-pause)
;; C-x C-m C-i shows mp3 informations
(define-key global-map [(control x) (control m) (control i)] 'mp3play-show-current-information)
M-\ 就进入了mp3play buffer.
p - 暂停,s-停止. 回车-播放.
对我来说很方便,开一个mp3play buffer播放mp3,再到别的buffer下工作,确实很方便.
mp3play.el |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|