04-17-2020, 10:58 AM
(This post was last modified: 04-17-2020, 11:26 AM by GhezoArt.
Edit Reason: forgot some info.
)
(04-17-2020, 10:45 AM)Tim Curtis Wrote: Update or re-gen the MPD database and then examine the MPD log
Code:cat /var/log/mpd/log
tail -f /var/log/mpd/log
Thx for your reply.
log file was empty, after re-generate, he has 1 line.
Code:
pi@moode:/var/log/mpd $ ls -ltr
total 0
-rw-r--r-- 1 mpd audio 0 Apr 17 10:35 log
pi@moode:/var/log/mpd $ ls -ltr
total 4
-rw-r--r-- 1 mpd audio 69 Apr 17 12:51 log
pi@moode:/var/log/mpd $ cat log
Apr 17 12:51 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
pi@moode:/var/log/mpd $ tail -f log
Apr 17 12:51 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
Seems he only sees the SD.
Not the mounted drive.
Here is the mpd.conf file
Code:
pi@moode:/etc $ cat mpd.conf
#########################################
# This file is automatically generated
# by the MPD configuration page.
#########################################
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/database"
log_file "/var/log/mpd/log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
group "audio"
bind_to_address "any"
port "6600"
log_level "default"
restore_paused "yes"
auto_update "no"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "no"
zeroconf_name "Moode MPD"
filesystem_charset "UTF-8"
metadata_to_use "+comment"
replaygain "off"
replaygain_preamp "0"
volume_normalization "no"
audio_buffer_size "32768"
max_output_buffer_size "131072"
max_connections "128"
decoder {
plugin "ffmpeg"
enabled "yes"
}
input {
plugin "curl"
}
resampler {
plugin "soxr"
quality "very high"
threads "0"
}
audio_output {
type "alsa"
name "ALSA default"
device "hw:1,0"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA crossfeed"
device "crossfeed"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA parametric eq"
device "eqfa4p"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA graphic eq"
device "alsaequal"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA polarity inversion"
device "invpolarity"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA bluetooth"
device "btstream"
mixer_type "software"
}
audio_output {
type "httpd"
name "HTTP stream"
port "8000"
encoder "lame"
bitrate "320"
tags "yes"
always_on "yes"
}
and the music dir
Code:
pi@moode:/var/lib/mpd/music $ ls -l
total 12
drwxrwxrwx 2 root root 12288 Apr 16 17:51 RADIO
lrwxrwxrwx 1 root root 11 Nov 25 16:00 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root 6 Nov 25 16:00 USB -> /media
Thx !