On Thu, 21 Nov 2024 16:33:34 +0800 "大黑" <553912...@qq.com> wrote:
> Hi there,I want to use emacs emms to play music file and youtube > url,and I have emms configuration below,but when I execute M-x > emms-play-file it can not work and show message "if: Symbol’s > function definition is void: emms-player-mpv-ipc-fifo-p",I hope > someone can tell me how to config emms using mpv correctly,thanks There is no mention of emms-player-mpv-ipc-fifo-p in current emms, but it was an internal function in some old emms version (removed a couple years ago). I think likely reason for why you might still have reference to that somewhere, is either some overidden function from mpv player backend or an advice/hook using it. I'd probably try running M-x toggle-debug-on-error, then starting playback to reproduce the error, which should pop open a traceback window, see which function tries to use it, and then see where it's defined (tap on its name in traceback buffer, or do "C-h f" or describe-function on it). If it's an overidden mpv backend function in ~/.emacs config somewhere, you can either update it to match what's currently there (without that obsolete fifo check) or remove it if it's no longer needed. Not sure how it might happen otherwise, but maybe post traceback and what you find wrt what uses emms-player-mpv-ipc-fifo-p and where that code is loaded from, if it looks like something else. Cheers! -- Mike Kazantsev // fraggod.net