07-09-2020, 03:16 PM
Hello
I am trying to set up an audio_output which uses the pipe option of mpd.
audio_output {
type "pipe"
name "my pipe"
command "/home/pi/fft.py"
format "44100:16:1"
}
Moode => 6.5.2
mpd/mpc 0.21.11
I know that mpd can do this as I have done this on Icecast on Raspberry pi, and editing /etc/mpd.conf.
I have tried a modified mpd_oled.conf https://github.com/antiprism/mpd_oled, and might of worked, as when I do a mpc output,
Output 1 (ALSA default) is enabled
Output 2 (ALSA crossfeed) is disabled
Output 3 (ALSA parametric eq) is disabled
Output 4 (ALSA graphic eq) is disabled
Output 5 (ALSA polarity inversion) is disabled
Output 6 (ALSA bluetooth) is disabled
Output 7 (HTTP stream) is disabled
Output 8 (my pipe) is disabled
it shows in the list but disabled and also I am not getting an error in the mpd log. I should be getting an error as I am using the serial port on the pi, and at present I have not placed the mpd user into the dialout group.
What do I need to do to get moode to get this to work.
I am trying to set up an audio_output which uses the pipe option of mpd.
audio_output {
type "pipe"
name "my pipe"
command "/home/pi/fft.py"
format "44100:16:1"
}
Moode => 6.5.2
mpd/mpc 0.21.11
I know that mpd can do this as I have done this on Icecast on Raspberry pi, and editing /etc/mpd.conf.
I have tried a modified mpd_oled.conf https://github.com/antiprism/mpd_oled, and might of worked, as when I do a mpc output,
Output 1 (ALSA default) is enabled
Output 2 (ALSA crossfeed) is disabled
Output 3 (ALSA parametric eq) is disabled
Output 4 (ALSA graphic eq) is disabled
Output 5 (ALSA polarity inversion) is disabled
Output 6 (ALSA bluetooth) is disabled
Output 7 (HTTP stream) is disabled
Output 8 (my pipe) is disabled
it shows in the list but disabled and also I am not getting an error in the mpd log. I should be getting an error as I am using the serial port on the pi, and at present I have not placed the mpd user into the dialout group.
What do I need to do to get moode to get this to work.