initialize
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
|
||||
pcm.speakerbonnet {
|
||||
type hw card 0
|
||||
}
|
||||
|
||||
pcm.dmixer {
|
||||
type dmix
|
||||
ipc_key 1024
|
||||
ipc_perm 0666
|
||||
slave {
|
||||
pcm "speakerbonnet"
|
||||
period_time 0
|
||||
period_size 1024
|
||||
buffer_size 8192
|
||||
rate 44100
|
||||
channels 2
|
||||
}
|
||||
}
|
||||
|
||||
ctl.dmixer {
|
||||
type hw card 0
|
||||
}
|
||||
|
||||
pcm.softvol {
|
||||
type softvol
|
||||
slave.pcm "dmixer"
|
||||
control.name "PCM"
|
||||
control.card 0
|
||||
}
|
||||
|
||||
ctl.softvol {
|
||||
type hw card 0
|
||||
}
|
||||
|
||||
pcm.!default {
|
||||
type plug
|
||||
slave.pcm "softvol"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
[api]
|
||||
|
||||
[hardware]
|
||||
mpu = False
|
||||
led = False
|
||||
|
||||
[logging]
|
||||
level = DEBUG
|
||||
|
||||
[luniebox]
|
||||
|
||||
[mpd]
|
||||
library_path = /home/pi/luniebox/library
|
||||
|
||||
[spotify]
|
||||
auto_download = False
|
||||
zspotify_path =
|
||||
@@ -0,0 +1,21 @@
|
||||
music_directory "/home/pi/luniebox/library"
|
||||
playlist_directory "/var/lib/mpd/playlists"
|
||||
db_file "/var/lib/mpd/tag_cache"
|
||||
restore_paused "yes"
|
||||
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 "localhost"
|
||||
audio_output {
|
||||
type "alsa"
|
||||
name "ALSA Device"
|
||||
device "hw:CARD=sndrpihifiberry"
|
||||
mixer_type "software"
|
||||
mixer_device "default"
|
||||
mixer_control "PCM"
|
||||
mixer_index "0"
|
||||
}
|
||||
volume_normalization "yes"
|
||||
filesystem_charset "UTF-8"
|
||||
@@ -0,0 +1,11 @@
|
||||
[global]
|
||||
username = ""
|
||||
password = ""
|
||||
backend = "alsa"
|
||||
device = "hw:CARD=sndrpihifiberry"
|
||||
device_name = "luniebox"
|
||||
device_type = "computer"
|
||||
bitrate = 160
|
||||
volume-normalisation = true
|
||||
normalisation-pregain = 0
|
||||
cache_path = "/home/pi/luniebox/.cache/spotify"
|
||||
Reference in New Issue
Block a user