system changes
This commit is contained in:
parent
34c9d931cf
commit
b5778d5d41
1 changed files with 37 additions and 2 deletions
|
@ -6,10 +6,45 @@ Configure =mpd= as a music player.
|
|||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# mpd
|
||||
mpd
|
||||
];
|
||||
home.file."./.config/mpd/mpd.conf".text = ''
|
||||
home.file."./.mpdconf".text = ''
|
||||
music_directory = "/Volumes/Media/Music";
|
||||
playlist_directory "~/.mpd/playlists"
|
||||
db_file "~/.mpd/mpd.db"
|
||||
log_file "~/.mpd/mpd.log"
|
||||
pid_file "~/.mpd/mpd.pid"
|
||||
state_file "~/.mpd/mpdstate"
|
||||
auto_update "yes"
|
||||
auto_update_depth "2"
|
||||
follow_outside_symlinks "yes"
|
||||
follow_inside_symlinks "yes"
|
||||
|
||||
audio_output {
|
||||
type "osx"
|
||||
name "CoreAudio"
|
||||
mixer_type "software"
|
||||
}
|
||||
|
||||
decoder {
|
||||
plugin "mp4ff"
|
||||
enabled "no"
|
||||
}
|
||||
|
||||
bind_to_address "127.0.0.1"
|
||||
port "6600"
|
||||
user "jjanzen"
|
||||
|
||||
# Visualizer
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "my_fifo"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
auto_resample "no"
|
||||
use_mmap "yes"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
type "osx"
|
||||
name "CoreAudio"
|
||||
|
|
Loading…
Add table
Reference in a new issue