You are not logged in.

#1 2016-12-31 20:08:56

asportking
Member
Registered: 2014-04-17
Posts: 41

mpd+ncmpcpp visualizer not working - Couldn't open "/tmp/mpd.fifo"

Hi all,

I have mpd installed on my music server, with ncmpcpp on my work computer. I've attempted to set up my system to allow music visualization, but I get the error "Couldn't open "/tmp/mpd.fifo" for reading PCM data: No such file or directory".  However, /tmp/mpd.fifo is being generated successfully. Here's the relevant portions of the configs from mpd.conf:

audio_output {
        type "fifo"
        name "my_fifo"
        path "/tmp/mpd.fifo"
        format "44100:16:2"
        visualizer_in_stereo "yes"
}

and the ncmpcpp config:

 visualizer_fifo_path = "/tmp/mpd.fifo"
 visualizer_output_name = "my_fifo"
 visualizer_sync_interval = "30"
 visualizer_in_stereo = "yes"
 #visualizer_type = "wave" (spectrum/wave)
 visualizer_type = "spectrum"
 visualizer_look = "+|"

Again, mpd generates the mpd.fifo file just fine. I suspect the problem might be that ncmpcpp is searching for a local /tmp/mpd.fifo instead of the one on my music server, but I'm not sure how to fix that (removing the visualizer_fifo_path in the config does nothing). Any suggestions? Thanks!

Offline

#2 2016-12-31 22:42:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: mpd+ncmpcpp visualizer not working - Couldn't open "/tmp/mpd.fifo"

That won't work - a fifo is a local (named) socket. You need an additiona layer like netcat, see eg. https://bbs.archlinux.org/viewtopic.php?id=194587 for a beginning.

Offline

Board footer

Powered by FluxBB