You are not logged in.
Hello,
I'm a new(and awesomed) Mpd user, I discovered the Ncmpcpp, and following the wiki I tried to enable the visualizations,
But if I add the config lines to /etc/mpd.conf:
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}And restarts mpd.service the audio stops working, now commenting out that audio_output and restarting again I get the audio.
How can I find the root cause of the problem?
Last edited by Kummo666 (2014-06-04 23:38:26)
Offline
Try setting log_file in mpd.conf and see what it writes to the log.
"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/
https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024
Offline
Did it but nothing relevant in the logs, also it's like it's working fine cause the logs shows the next played song.
Offline
Do you have another audio_output in mpd.conf? If not, it will only use the one you have configured.
"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/
https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024
Offline
Does ncmpcpp list all defined outputs? Does the fifo exists/gets created? Ncmpcpp has its own error.log.
Edit: missed the previous post.
Last edited by emeres (2014-06-02 01:28:13)
Offline
could be that the audio output is disabled, double check in ncmpcpp to be sure
Offline
yes, looks like the problem is that I don't have another audio_output defined, this is the status of the mpd service when I start it without the fifo output:
Jun 04 20:26:18 netarch mpd[560]: output: No 'audio_output' defined in config file
Jun 04 20:26:18 netarch mpd[560]: output: Attempt to detect audio output device
Jun 04 20:26:18 netarch mpd[560]: output: Attempting to detect a alsa audio device
Jun 04 20:26:18 netarch mpd[560]: output: Successfully detected a alsa audio deviceSo I added the following lines to the mpd.conf:
audio_output {
type "alsa"
name "Sound Card"
options "dev=dmixer"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:1"
}Thanks for your help!
Offline