Add beets config

This commit is contained in:
M1dgard 2018-10-03 12:03:21 +02:00
parent ed61ea966a
commit 6f96090b8e
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 61 additions and 4 deletions

56
beets.config.yaml Normal file
View file

@ -0,0 +1,56 @@
directory: ~/mus
library: ~/.local/share/beets/library.db
asciify_paths: yes
import:
log: ~/.log/beets/library.db
incremental: yes
move: yes
musicbrainz:
searchlimit: 10
replace:
'[#"()\[\]<>:\*\|{}\\!\?]': ''
"'": ''
'[\\/]': _
'[\.,]': _
'[\x00-\x1f]': _
'^-': ''
'&': '_and_'
'\s+': _
'_+': _
'^_': ''
item_fields:
multidisc: 1 if disctotal > 1 else 0
paths:
default: $albumartist/$album%aunique{}/%if{$multidisc,${disc}_}_${track}_-_${title}
singleton: $artist/etc/title
comp: various_artists/$album%aunique{}/%if{$multidisc,${disc}_}_${track}_-_${title}
va_name: various artists
languages: ["nl", "en"]
bell: yes
plugins: edit inline the types fetchart lyrics lastgenre mpdupdate badfiles acousticbrainz
mpd:
host: localhost
port: 6600
badfiles:
commands:
ogg: oggz-validate
lastgenre:
source: track
the:
strip: yes
patterns: ^de ^een
types:
rating: float

View file

@ -25,5 +25,6 @@ ln -s $PWD/gitignore $HOME/.gitignore
mkdir -p $DOT_CONF/nvim/plug/
ln -s $PWD/nvim-init.vim $DOT_CONF/nvim/init.vim
ln -s $PWD/user-dirs.dirs $DOT_CONF/user-dirs.dirs
ln -s $PWD/beets.config.yaml $DOT_CONF/beets/config.yaml
nvim -c :PlugUpgrade -c :PlugInstall -c :PlugUpdate