You are not logged in.
Pages: 1
I'm trying to get mpd up and running with cantata.
I left the /etc/mpd.conf as was, except for adding in my library location (and then chowning the /var/lib/mpd directory to mpd)
If I run:
systemctl --user start mpd.servicethen when I run cantata, it reports the following error:
"MPD reported the following error: playlist_directory - stored playlist support is disabled"
and won't load the library
If I run:
(sudo) systemctl start mpd.servicenothing happens - mpd fails to start
if I run:
(sudo) mpdI get the following errors:
db: Database corrupted
output: No 'audio_output' defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
alsa_output: Error opening default ALSA device: No such file or directory
output: Attempting to detect a oss audio device
oss_output: Error opening OSS device "/dev/dsp": No such file or directory
oss_output: Error opening OSS device "/dev/sound/dsp": No such file or directory
output: Attempting to detect a pulse audio device
Assertion 'm' failed at pulse/thread-mainloop.c:236, function pa_threaded_mainloop_get_api(). Aborting.I'm not really sure what to do at this point.
Last edited by emacsomancer (2014-09-25 03:23:47)
Offline
Please use code tags when pasting to the boards https://wiki.archlinux.org/index.php/Fo … s_and_Code
Offline
Last time I checked the wiki states there is more that you need to set in the config for mpd to work. For instance a playlist location...
Offline
Last time I checked the wiki states there is more that you need to set in the config for mpd to work. For instance a playlist location...
In my /etc/mpd.conf file I have:
# See: /usr/share/doc/mpd/mpdconf.example
user "mpd"
pid_file "/run/mpd/mpd.pid"
db_file "/var/lib/mpd/mpd.db"
state_file "/var/lib/mpd/mpdstate"
playlist_directory "/var/lib/mpd/playlists"
music_directory "/PATH/TO/MY/MUSIC"
bind_to_address "127.0.0.1"
port "6600"Offline
what's the output of
ls -l /var/lib/mpd/mpd.dband what user is mpd set to run as
Offline
Offline
what's the output of
ls -l /var/lib/mpd/mpd.dband what user is mpd set to run as
-rw-r--r-- 1 mpd root 0 Sep 24 20:55 /var/lib/mpd/mpd.db
Where do I check which user's it set to run as?
Offline
Thanks. I'll try adding (both?) alsa & pulseaudio settings.
Offline
HiImTye wrote:what's the output of
ls -l /var/lib/mpd/mpd.dband what user is mpd set to run as
-rw-r--r-- 1 mpd root 0 Sep 24 20:55 /var/lib/mpd/mpd.db
Where do I check which user's it set to run as?
mpd.conf, but for quick reference you can
ps -ef | grep mpdwhile it's running
Offline
Pages: 1