Music player daemon: pulse audio output not working.
by torronto from LinuxQuestions.org on (#5BHTH)
Good afternoon,
After installing mpd and getting some basic configuration done the daemon seems to be running normally but a control client, specifically mpc still states { Volume: n/a}.
#mpd.conf:
# Recommended location for database
db_file "~/.mpd/database"
# Logs to systemd journal
log_file "~/.mpd/log"
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
music_directory "~/Music"
# Uncomment to refresh the database whenever files in the music_directory are changed
auto_update "yes"
# Uncomment to enable the functionalities
playlist_directory "~/.mpd/playlists"
pid_file "~/.mpd/pid"
state_file "~/.mpd/state"
sticker_file "~/.mpd/sticker.sql"
audio_output {
type "pulse"
name "pulse audio"
}
#log
Dec 08 17:35 : update: added Miyagi-YAMAKASI/ .mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Atlant.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Minor.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Yamakasi.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/ .mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Tantra.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Medicine.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Utopia.mp3
Dec 08 17:38 : exception: Failed to read mixer for 'default detected output': no such mixer control: PCM
Dec 08 18:19 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:19 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:19 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:30 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:36 : exception: Failed to read mixer for 'default detected output': no such mixer control: PCM
Dec 08 18:40 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:40 : exception: Failed to commit /home/tt/.mpd/state: File exists
##MPC output
volume: n/a repeat: off random: off single: off consume: off
Any support or suggestions are greatly appreciated.


After installing mpd and getting some basic configuration done the daemon seems to be running normally but a control client, specifically mpc still states { Volume: n/a}.
#mpd.conf:
# Recommended location for database
db_file "~/.mpd/database"
# Logs to systemd journal
log_file "~/.mpd/log"
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
music_directory "~/Music"
# Uncomment to refresh the database whenever files in the music_directory are changed
auto_update "yes"
# Uncomment to enable the functionalities
playlist_directory "~/.mpd/playlists"
pid_file "~/.mpd/pid"
state_file "~/.mpd/state"
sticker_file "~/.mpd/sticker.sql"
audio_output {
type "pulse"
name "pulse audio"
}
#log
Dec 08 17:35 : update: added Miyagi-YAMAKASI/ .mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Atlant.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Minor.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Yamakasi.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/ .mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Tantra.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Medicine.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Utopia.mp3
Dec 08 17:38 : exception: Failed to read mixer for 'default detected output': no such mixer control: PCM
Dec 08 18:19 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:19 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:19 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:30 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:36 : exception: Failed to read mixer for 'default detected output': no such mixer control: PCM
Dec 08 18:40 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:40 : exception: Failed to commit /home/tt/.mpd/state: File exists
##MPC output
volume: n/a repeat: off random: off single: off consume: off
Any support or suggestions are greatly appreciated.