05-25-2018, 02:17 AM
Hi Tim,
The output looks like this
I digged a bit and found out how to increase the hardware buffer size in my /etc/mpd.conf file from 0.5s to 1s by adding
Currently the file looks like this
The issue seems to have gone away for now. Will be testing over the next few days and let you know the result.
The output looks like this
Code:
pi@moode:~ $ /var/www/command/util.sh get-alsavol PCM
pi@moode:~ $ sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_system where param='alsavolume'"
35|alsavolume|
I digged a bit and found out how to increase the hardware buffer size in my /etc/mpd.conf file from 0.5s to 1s by adding
Code:
buffer_time "1000000"
Currently the file looks like this
Code:
#########################################
# This file is automatically generated by
# the player 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"
mixer_type "disabled"
gapless_mp3_playback "yes"
replaygain "off"
volume_normalization "no"
audio_buffer_size "4096"
buffer_before_play "30%"
max_output_buffer_size "81920"
id3v1_encoding "UTF-8"
filesystem_charset "UTF-8"
max_connections "20"
decoder {
plugin "ffmpeg"
enabled "yes"
}
input {
plugin "curl"
}
resampler {
plugin "soxr"
quality "very high"
threads "1"
}
audio_output {
type "alsa"
name "ALSA default"
device "hw:1,0"
dop "no"
buffer_time "1000000"
}
audio_output {
type "alsa"
name "ALSA crossfeed"
device "crossfeed"
dop "no"
}
audio_output {
type "alsa"
name "ALSA parametric eq"
device "eqfa4p"
dop "no"
}
audio_output {
type "alsa"
name "ALSA graphic eq"
device "alsaequal"
dop "no"
}
audio_output {
type "alsa"
name "ALSA bluetooth"
device "btstream"
}
The issue seems to have gone away for now. Will be testing over the next few days and let you know the result.