Fix writing the mpd.conf file on Darwin
This commit is contained in:
parent
b79a805f01
commit
6573a54cc2
18
README.org
18
README.org
@ -5332,16 +5332,14 @@ for technical information.
|
||||
:CUSTOM_ID: sec:mpd-configuration-file
|
||||
:END:
|
||||
|
||||
Listing [[lst:make-mpd-conf]] proposes a [[https://www.musicpd.org/][Music Player Daemon]] configuration file that
|
||||
keeps each new connection for a day in order to reduce the rate of =*spurious*=
|
||||
generation.
|
||||
Listing [[lst:darwin-mpd-conf]] proposes a [[https://www.musicpd.org/][Music Player Daemon]] configuration file on
|
||||
Darwin that keeps each new connection for a day in order to reduce the rate of
|
||||
=*spurious*= generation.
|
||||
|
||||
#+caption[A Music Player Daemon configuration file proposal]:
|
||||
#+caption: A Music Player Daemon configuration file proposal.
|
||||
#+name: lst:make-mpd-conf
|
||||
#+begin_src shell :results silent
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
#+caption[A Music Player Daemon configuration file on Darwin]:
|
||||
#+caption: A Music Player Daemon configuration file on Darwin.
|
||||
#+name: lst:darwin-mpd-conf
|
||||
#+begin_src shell :eval (if (eq 'darwin system-type) "yes" "never") :results silent
|
||||
cat <<EOF > ~/.mpd/mpd.conf
|
||||
music_directory "~/Music"
|
||||
playlist_directory "~/.mpd/playlists"
|
||||
@ -5362,8 +5360,6 @@ generation.
|
||||
mixer_type "software"
|
||||
}
|
||||
EOF
|
||||
;;
|
||||
esac
|
||||
#+end_src
|
||||
|
||||
* [[info:emacs#Init File][Init File (info)]] footer
|
||||
|
Loading…
Reference in New Issue
Block a user