Closed
Description
I have a password protected MPD server running on localhost
and I have the environmental $MPD_HOST
set in shell configuration files. With whatever configuration I put in module.mpd
I can see the bar configured just fine but if I press on one of the buttons - for example pause/play I get the following traceback:
$ polybar default
polybar: src/error.c:49: mpd_connection_get_server_error: Assertion `connection->error.code == MPD_ERROR_SERVER' failed.
zsh: abort (core dumped) polybar default
Environment:
$ polybar --version
polybar 3.1.0
Features: +alsa +curl -i3 +mpd +network
$ mpd --version
Music Player Daemon 0.20.15
Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2017 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Database plugins:
simple proxy upnp
Storage plugins:
local smbclient nfs curl
Neighbor plugins:
smbclient upnp
Decoders plugins:
[mad] mp3 mp2
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[opus] opus ogg oga
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[dsdiff] dff
[dsf] dsf
[faad] aac
[wavpack] wv
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
[gme] ay gbs gym hes kss nsf nsfe sap spc vgm vgz
[pcm]
Filters:
libsamplerate soxr
Tag plugins:
id3tag
Output plugins:
shout null fifo pipe alsa ao oss pulse jack httpd recorder
Encoder plugins:
null vorbis opus lame wave flac
Archive plugins:
[bz2] bz2
[zzip] zip
Input plugins:
file alsa archive curl ffmpeg smbclient nfs mms
Playlist plugins:
extm3u m3u pls xspf asx rss soundcloud flac cue embcue
Protocols:
file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// smb:// nfs:// alsa://
Other features:
avahi epoll icu inotify ipv6 systemd tcp un
$ uname -orvs
Linux 4.14.15-1-ARCH #1 SMP PREEMPT Tue Jan 23 21:49:25 UTC 2018 GNU/Linux
$ pacman -Qi libmpdclient
Name : libmpdclient
Version : 2.11-1
Description : Asynchronous API library for interfacing MPD in the C,
C++ & Objective C languages
Architecture : x86_64
URL : https://www.musicpd.org/libs/libmpdclient/
Licenses : custom:BSD
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : mpc mpd mpdscribble ncmpcpp
Optional For : polybar
Conflicts With : None
Replaces : None
Installed Size : 333.00 KiB
Packager : Gaetan Bisson <bisson@archlinux.org>
Build Date : Sun 26 Mar 2017 02:18:21 IDT
Install Date : Thu 30 Mar 2017 16:42:44 IDT
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Metadata
Metadata
Assignees
Labels
No labels