example config: improve readability, make paths sed'able

This commit is contained in:
Vincent Riquer 2013-02-25 12:53:58 +01:00
parent fef9d5d5d6
commit 3d9786cc6c

View File

@ -1,15 +1,13 @@
[general] [general]
max-load 6 max-load 6
load-interval 30 load-interval 30
temporary-directory $HOME/.atom/tmp temporary-directory %HOME%/.atom/tmp
database $HOME/.atom/atom.db database %HOME%/.atom/atom.db
debug 0 debug 0
[source] [source]
path /var/lib/mpd/music path /var/lib/mpd/music
id3charset iso-8859-15 id3charset iso-8859-15
# you should not skip application/octet-stream, they could be somthing similar
# to "Audio file with ID3 version 2.4.0, unsynchronized frames"
[Ogg] [Ogg]
path /mnt/Musique-OggQ2 path /mnt/Musique-OggQ2
@ -17,6 +15,9 @@ format vorbis
quality 1 quality 1
channels 2 channels 2
frequency 44100 frequency 44100
# you should not skip or copy application/octet-stream, they could be something
# similar to "Audio file with ID3 version 2.4.0, unsynchronized frames"
copy_mime-type image/* copy_mime-type image/*
copy_mime-type text/* copy_mime-type text/*
@ -24,6 +25,7 @@ copy_mime-type text/*
path /mnt/Musique-mp3.test path /mnt/Musique-mp3.test
format mp3 format mp3
bitrate 96 bitrate 96
# rename file, path unchanged # rename file, path unchanged
rename %{track}--%{artist}-%{title} rename %{track}--%{artist}-%{title}
# change the whole filepath # change the whole filepath