Raspberry MPD: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 8: | Zeile 8: | ||
=Configuration= | =Configuration= | ||
| + | */etc/asound.conf | ||
| + | <pre> | ||
| + | pcm.!default { | ||
| + | type hw card 0 | ||
| + | } | ||
| + | ctl.!default { | ||
| + | type hw card 0 | ||
| + | } | ||
| + | </pre> | ||
*/etc/mpd.conf | */etc/mpd.conf | ||
<pre> | <pre> | ||
Version vom 28. November 2017, 19:35 Uhr
Enable hifiberry dac+
#Disable audio (loads snd_bcm2835) #dtparam=audio=on #Enable audio (loads snd_bcm2835) dtoverlay=hifiberry-dacplus
Installation
- apt-get install mpd alsa-utils
Configuration
- /etc/asound.conf
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}
- /etc/mpd.conf
music_directory "/mnt/media/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/tag_cache"
log_file "/var/log/mpd/mpd.log"
pid_file "/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
bind_to_address "0.0.0.0"
input {
plugin "curl"
}
audio_output {
device "hw:0"
type "alsa"
name "pcm512x-hifi"
mixer_type "hardware"
mixer_control "Digital"
}
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"