momomo5717 / emms-player-simple-mpv Goto Github PK
View Code? Open in Web Editor NEWAn extension of emms-player-simple.el for mpv JSON IPC
An extension of emms-player-simple.el for mpv JSON IPC
Allow me to drop a quick summary of the issues I've noticed while testing your package:
The player should not pause itself, at least not during init. Because of that, we need to pause twice to effectively pause (at least the first time).
There is a typo in the version detection code: verison
.
There are a lot of of "mpv ... success" messages. I find them more annoying than useful. I'd suggest to remove them.
Hello, in case you didn't receive a message from Yoni Rabkin, the EMMS
maintainer (it was sent to momomosute at gmail.com
but maybe it's not
your actual email), here it is:
Hello, I'm the current maintainer of Emms.
I've been told that emms-player-simple-mpv works well. I'm referring to
the one at: https://github.com/momomo5717/emms-player-simple-mpv
I'd like to make it an official part of the Emms project. Since Emms is
a GNU project, that would entail some paperwork with the FSF. Would you
all be amenable to that?
If not, it isn't the end of the world either; people can still get
emms-player-simple-mpv separately. Also, I would end up implementing
Emms' own independent version of a emms-player-mpv, and it would be a
shame to duplicate the effort.
(I received this message since I contributed to emms-player-simple-mpv
)
So if you are interested, could you please reply to Yoni Rabkin directly
yrk at gnu.org
or to the emms-help mailing list emms-help at gnu.org
?
Thank you!
Hi! I'm using Emacs 25.2.1 on a Mac HighSierra, and this is my configuration for emms + mpv:
(require 'emms-setup)
(emms-minimalistic)
(add-to-list 'load-path "~/.emacs.d/emms-player-simple-mpv-master/")
;; Set MPV as default player
(require 'emms-player-simple-mpv)
(require 'emms-player-simple-mpv-control-functions) ;; This plugin provides control functions (e.g. ab-loop, speed, fullscreen).
(define-emms-simple-player-mpv my-mpv '(file url streamlist playlist)
(concat "\\`\\(http[s]?\\|mms\\)://\\|"
(apply #'emms-player-simple-regexp
"aac" "pls" "m3u"
emms-player-base-format-list))
"mpv" "--no-terminal" "--force-window=no" "--audio-display=no")
(setq emms-player-list '(emms-player-my-mpv))
;; Set up music folder
(setq emms-playlist-buffer-name "*Music*")
(setq emms-source-file-default-directory "/Users/guilhermesalome/Music/iTunes/iTunes Media/Music/")
(emms-add-directory-tree emms-source-file-default-directory)
I used a setup similar to this with mplayer, but switched to mpv because mplayer would display embedded album covers all the time (annoying, could not find a way to fix it).
The problem with what I have is that when I M-x emms
(or C-x b *Music*
), is that when hitting RET
to a play a new song, Emacs will freeze. And it will stay frozen unless I hit C-g
a lot of times. I am not sure what is causing this/how to solve. Any ideas? Or better configs?
Thanks for helping! :D
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.