init checkin

This commit is contained in:
LuKe Tidd 2025-04-14 17:45:13 -04:00
parent 131f0f6aba
commit 12a3c205f2
Signed by: luke
GPG Key ID: 75D6600BEF4E8E8F
2 changed files with 79 additions and 0 deletions

68
mpd.conf Normal file
View File

@ -0,0 +1,68 @@
music_directory "/data/music/flac"
playlist_directory "/data/music/playlists"
db_file "/data/mpd/mpd.db"
log_file "/data/mpd/mpd.log"
state_file "/data/mpd/state"
sticker_file "/data/mpd/sticker.sql"
bind_to_address "2603:3001:bd9:f1:1337:f1ac:d00d:ad10"
port "6600"
# log_level "verbose"
metadata_to_use "artist,album,title,track,name,date,disc"
auto_update_depth "3"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "no"
default_permissions "read,add,control,admin"
input {
plugin "curl"
enabled "no"
}
input {
plugin "qobuz"
enabled "no"
}
decoder {
plugin "wildmidi"
enabled "no"
}
decoder {
plugin "hybrid_dsd"
enabled "no"
}
audio_output {
type "alsa"
name "dont need alsa"
enabled "no"
}
# audio_output {
# type "shout"
# encoder "vorbis"
# name "My Shout Stream"
# tags "yes"
# host "2603:3001:bd9:f1:1337:f1ac:d00d:ad10"
# port "8443"
# mount "/stream.ogg"
# password "2N9WNqbjyn7Fb8u3EL5VHZ3K9"
# quality "5.0"
# format "44100:16:2"
# public "no"
# always_on "yes"
# }
audio_output {
type "fifo"
name "pipestown"
path "/tmp/snapfifo"
format "48000:16:2"
mixer_type "software"
}
audio_output {
type "fifo"
name "viz"
path "/tmp/vizpipe"
format "48000:16:1"
}
audio_output {
type "null"
name "My Null Output"
mixer_type "none"
}

11
push Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
declare -A file_dest
file_dest['mpd.conf']='/etc/mpd.conf'
for file in "${file_dest[@]}"; do
dest="${file_dest["$file"]}"
diff -y "$file" "$dest"
sudo cp "$file" "$dest"
sudo chown root:root "$dest"
done