You are not logged in.
So I am trying to run mpd as a daemon for my user...
However, whenever I run mpd, I get the message: No such file or directory in both clients mpc and ncmpcpp:
$ mpc
MPD error: No such file or directory
In ncmpcpp it says No such file or directory in the bottom right. I can navigate using the file system but sometimes the message switches over to No active MPD connection.
Here is some mpd debugging:
$ mpd --no-daemon --stdout --verbose
config_file: loading file /home/mc/.config/mpd/mpd.conf
libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'
vorbis: Xiph.Org libVorbis 1.3.7
opus: libopus 1.3.1
sndfile: libsndfile-1.0.31
hybrid_dsd: The Hybrid DSD decoder is disabled because it was not explicitly enabled
exception: Decoder plugin 'wildmidi' is unavailable: configuration file does not exist: /etc/timidity/timidity.cfg
simple_db: reading DB
Failed to initialize io_uring: io_uring_queue_init() failed: Cannot allocate memory
exception: Input plugin 'tidal' is not configured: No Tidal application token configured
exception: Input plugin 'qobuz' is not configured: No Qobuz app_id configured
curl: version 7.75.0
curl: with OpenSSL/1.1.1j
avahi: Initializing interface
exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
avahi: Client changed to state 101
avahi: Client is CONNECTING
inotify: initializing inotify
inotify: watching music directory
Here is my mpd config:
db_file "~/.config/mpd/database"
music_directory "~/music"
playlist_directory ~/.config/mpd/playlists"
auto_update "yes"
bind_to_address "0.0.0.0"
audio_output {
type "pulse"
name "pulse"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
Obviously, I've checked to make sure that my mpd music directory (~/music) actually exists and contains music. It has read/write permissions of 755, just thought I'd throw that out there.
I've made sure that no mpd services or sockets are active.
When I run the command ps aux it shows that the user running the mpd process is me.
Any other suggestions? I am at a loss.
Last edited by claudici (2021-02-24 19:50:13)
Offline
Solved it.
Turns out I had to set the environment variable MPD_HOST=localhost.
Closing this thread.
Last edited by claudici (2021-02-24 19:49:49)
Offline