emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emms-help] emms-player-mpv ipc-error: connection-error


From: Konstantin Reich
Subject: Re: [emms-help] emms-player-mpv ipc-error: connection-error
Date: Mon, 04 Jun 2018 13:59:15 +0300

First, i removed the mpv config file altogether, the error appears anyway.

I used the debug mode, as you suggested and got the following:


emms-player-mpv 3162.1 proc[emms-player-mpv]: start (mpv --quiet --really-quiet 
--no-audio-display 
--input-ipc-server=/home/reich/.emacs.d/emms-player-mpv-ipc.sock --idle)
emms-player-mpv 3162.1 json >> 
{"command":["loadlist","http://www.ibiblio.org/wcpe/wcpe.pls","replace"],"request_id":66}
emms-player-mpv 3162.1 proc[emms-player-mpv]: stop
emms-player-mpv 3162.1 proc[emms-player-mpv<1>]: start (mpv --quiet 
--really-quiet --no-audio-display 
--input-ipc-server=/home/reich/.emacs.d/emms-player-mpv-ipc.sock --idle)
emms-player-mpv 3162.1 json >> 
{"command":["loadlist","http://www.ibiblio.org/wcpe/wcpe.pls","replace"],"request_id":67}
emms-player-mpv 3162.1 proc[emms-player-mpv<1>]: stop
emms-player-mpv ipc-error: connection-error
emms-player-mpv 3162.1 proc[emms-player-mpv<2>]: start (mpv --quiet 
--really-quiet --no-audio-display 
--input-ipc-server=/home/reich/.emacs.d/emms-player-mpv-ipc.sock --idle)
emms-player-mpv 3162.1 json >> 
{"command":["loadlist","http://www.ibiblio.org/wcpe/wcpe.pls","replace"],"request_id":68}
emms-player-mpv 3162.1 proc[emms-player-mpv<2>]: stop
emms-player-mpv ipc-error: connection-error
emms-player-mpv 3162.1 proc[emms-player-mpv<3>]: start (mpv --quiet 
--really-quiet --no-audio-display 
--input-ipc-server=/home/reich/.emacs.d/emms-player-mpv-ipc.sock --idle)
emms-player-mpv 3162.1 json >> {"command":null,"request_id":69}
emms-player-mpv 3162.1 proc[emms-player-mpv<3>]: stop
emms-player-mpv 3162.1 proc[emms-player-mpv<4>]: start (mpv --quiet 
--really-quiet --no-audio-display 
--input-ipc-server=/home/reich/.emacs.d/emms-player-mpv-ipc.sock --idle)
emms-player-mpv 3162.1 json >> {"command":["set","pause","no"],"request_id":70}
emms-player-mpv 3162.1 proc[emms-player-mpv<4>]: stop
emms-player-mpv ipc-error: connection-error
emms-player-mpv 3162.1 proc[emms-player-mpv<4>]: interrupt (status=signal, 
playing=nil)
emms-player-mpv 3162.1 proc[emms-player-mpv<3>]: interrupt (status=signal, 
playing=nil)
emms-player-mpv 3162.1 proc[emms-player-mpv<2>]: interrupt (status=signal, 
playing=nil)
emms-player-mpv 3162.1 proc[emms-player-mpv<1>]: interrupt (status=signal, 
playing=nil)
emms-player-mpv 3162.1 proc[emms-player-mpv]: interrupt (status=signal, 
playing=nil)



mpv -v --version gives the following:
[cplayer] Command line options: '-v' '--version'
[cplayer] mpv 0.27.2 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN
[cplayer] ffmpeg library versions:
[cplayer]    libavutil       55.78.100
[cplayer]    libavcodec      57.107.100
[cplayer]    libavformat     57.83.100
[cplayer]    libswscale      4.8.100
[cplayer]    libavfilter     6.107.100
[cplayer]    libswresample   2.9.100
[cplayer] ffmpeg version: 3.4.2-2
[cplayer] 
[cplayer] Configuration: ./waf configure --prefix=/usr 
--libdir=/usr/lib/x86_64-linux-gnu --confdir=/etc/mpv 
--zshdir=/usr/share/zsh/vendor-completions --enable-cdda --enable-dvdnav 
--enable-dvdread --enable-encoding --enable-libmpv-shared --enable-libsmbclient 
--enable-sdl2 --enable-sndio --enable-zsh-comp --disable-build-date 
--enable-dvbin
[cplayer] List of enabled features: 52arch alsa asm atomics 
avutil-content-light-level avutil-icc-profile avutil-imgcpy-uc avutil-spherical 
caca cdda cplayer cplugins cuda-hwaccel debug-build drm dvbin dvdnav dvdread 
dvdread-common egl-drm egl-helpers egl-x11 encoding fchmod gbm gbm.h gl 
gl-wayland gl-x11 glibc-thread-name glob glob-posix gnuc iconv is_ffmpeg jack 
jpeg lcms2 libass libass-osd libav libavcodec libavdevice libbluray libdl libm 
libmpv-shared librt libsmbclient linux-fstatfs lua nanosleep optimize oss-audio 
plain-gl posix posix-or-mingw posix-spawn pthreads pulse rubberband sdl2 shm 
sndio stdatomic termios uchardet vaapi vaapi-drm vaapi-egl vaapi-glx 
vaapi-hwaccel vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 
vdpau-hwaccel vt.h wayland x11 xv zlib zsh-comp
[global] config path: '' -> '/home/rcv/.config/mpv'
[global] config path: 'encoding-profiles.conf' -/-> 
'/home/rcv/.config/mpv/encoding-profiles.conf'
[global] config path: 'encoding-profiles.conf' -/-> 
'/home/rcv/.mpv/encoding-profiles.conf'
[global] config path: 'encoding-profiles.conf' -> 
'/etc/mpv/encoding-profiles.conf'
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[global] config path: 'mpv.conf' -/-> '/home/rcv/.config/mpv/mpv.conf'
[global] config path: 'config' -/-> '/home/rcv/.config/mpv/config'
[global] config path: 'mpv.conf' -/-> '/home/rcv/.mpv/mpv.conf'
[global] config path: 'config' -/-> '/home/rcv/.mpv/config'
[global] config path: 'mpv.conf' -> '/etc/mpv/mpv.conf'
[global] config path: 'config' -/-> '/etc/mpv/config'
[cplayer] Reading config file /etc/mpv/mpv.conf
[cplayer] Setting option 'hwdec' = 'vaapi' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Setting option 'version' = '' (flags = 8)
[cplayer] mpv 0.27.2 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN
[cplayer] ffmpeg library versions:
[cplayer]    libavutil       55.78.100
[cplayer]    libavcodec      57.107.100
[cplayer]    libavformat     57.83.100
[cplayer]    libswscale      4.8.100
[cplayer]    libavfilter     6.107.100
[cplayer]    libswresample   2.9.100
[cplayer] ffmpeg version: 3.4.2-2
[cplayer] 

> Which OS/distro it's happening on, btw?

I have the same problem on my work and home computer, both have Ubuntu 18.10.


>>  Hi,
>>
>>  The emms doesnot work anymore, after an update . Everytime i try to play
>>  something i got the following error in the Message bufer:
>>
>>  emms-player-mpv ipc-error: connection-error
>>
>>  Could you help me to fix it?
>
> Recent change was to allow emms to control long-running mpv process
> via --input-ipc-server option (for mpv >= 0.17.0), which I guess
> doesn't work in your configuration for some reason.
>
> Can you enable emms-player-mpv-debug, and post "emms-player-mpv" lines
> from *Messages* buffer?
>
> It can be done by adding this to ~/.emacs:
>
>   (setq emms-player-mpv-debug t)
>
> And then starting playback of anything via emms.
> Along with "ipc-error: connection-error" message, there might be
> something else that'd give more info about the problem.
> All messages from new mpv backend are prefixed by emms-player-mpv there.
>
> Another thing that'd be useful is full output of "mpv -v --version"
> command, mostly for build-time configuration options.
>
> Which OS/distro it's happening on, btw?
>
> Finally, likely workarounds:
>
>  - If you have heavily-customized mpv configuration, which causes the
>    problem, --no-config or using alternative lighter config file can do
>    the trick.
>
>  - Fall back to old way of doing things by setting
>    emms-player-mpv-ipc-method to 'file.
>
> Would be nice if you can provide more info so that issue can be fixed
> without requiring either of these though.
>
> Thanks for reporting it.
>
> --
> Mike Kazantsev // fraggod.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]