config/mpd: turn into a template

This commit is contained in:
xeruf 2022-12-12 14:07:59 +01:00
parent 49818385ec
commit 17468a36ce
3 changed files with 27 additions and 4 deletions

View file

@ -5,7 +5,7 @@ colors:
title: blue title: blue
default_hour: 0 default_hour: 0
default_minute: 0 default_minute: 0
editor: {{ env.HOME }}/.local/bin/scripts/emacstty +99999 editor: /home/janekf/.local/bin/scripts/emacstty +99999
encrypt: false encrypt: false
highlight: true highlight: true
indent_character: '|' indent_character: '|'

View file

@ -4,9 +4,9 @@ state_file "~/.local/state/mpd/state"
pid_file "~/.local/state/mpd/mpd.pid" pid_file "~/.local/state/mpd/mpd.pid"
db_file "~/.local/state/mpd/mpd.db" db_file "~/.local/state/mpd/mpd.db"
music_directory "~/data/4-media/music"
playlist_directory "~/data/4-media/music/Playlists" music_directory "/home/janekf/data/4-media/music"
#playlist_directory "~/.config/mpd/playlists" playlist_directory "/home/janekf/data/4-media/music/Playlists"
playlist_plugin { playlist_plugin {
name "m3u" name "m3u"
enabled "true" enabled "true"

View file

@ -0,0 +1,23 @@
# See man mpd.conf
state_file "~/.local/state/mpd/state"
pid_file "~/.local/state/mpd/mpd.pid"
db_file "~/.local/state/mpd/mpd.db"
music_directory "{{ env.MUSIC }}"
playlist_directory "{{ env.MUSIC }}/Playlists"
playlist_plugin {
name "m3u"
enabled "true"
}
playlist_plugin {
name "extm3u"
enabled "true"
}
replaygain "track"
auto_update "yes"
restore_paused "yes"
follow_outside_symlinks "yes"