dotfiles/beets.config.yaml
M1dgard 10cf4ac891
[beets] Improve paths
Apparently my “the” plugin wasn’t even triggered! Now it is.
2018-11-04 17:22:42 +01:00

96 lines
2.2 KiB
YAML

directory: ~/mus
library: ~/.local/share/beets/library.db
asciify_paths: yes
import:
log: ~/.log/beets/import.log
# imported directories are recorded and these are skipped on later imports
incremental: yes
# record skipped directories in the incremental list
incremental_skip_later: yes
# move files into the library directory when using beet import
move: yes
# ask for confirmation on every autotagging match
timid: yes
musicbrainz:
searchlimit: 10
# yes: set to release date of “release group”
# no: … of “release”
original_date: yes
replace:
'^!!!$': 'Chk_Chk_Chk'
'[#"()\[\]<>:\*\|{}\\!\?]': _
"'": _
'[\\/]': _
'[\.,]': _
'[\x00-\x1f]': _
'Samson & Gert': 'Samson_en_Gert'
'&': '_and_'
'\+': '_plus_'
'\s+': _
'[-_]+': _
'^[-_](?!$)': ''
'(?<!^)[-_]$': ''
# first (non-pregap) track on each disc always has track number 1
per_disc_numbering: yes
# provided by plugin “inline”
item_fields:
multidisc: disctotal > 1
paths:
default: %the{$albumartist}/%the{$album}%aunique{}/%if{$multidisc,${disc}_}_${track}_-_$title
singleton: %the{$artist}/etc/$title
comp: various_artists/%the{$album}%aunique{}/%if{$multidisc,${disc}_}_${track}_-_$title
va_name: various artists
languages: ["nl", "en"]
bell: yes
plugins: edit inline the types fetchart lyrics mpdupdate mbsync mbsubmit badfiles acousticbrainz replaygain permissions fromfilename lastgenre play fuzzy info
edit:
itemfields: track disc title artist album mb_trackid
albumfields: album albumartist disctotal year country mb_albumid
mpd:
host: localhost
port: 6600
badfiles:
commands:
ogg: oggz-validate
opus: opusinfo
lastgenre:
source: track
the:
strip: yes
# this string is split on spaces so we use the escape sequence
patterns: '^(de|het|een|une?|les?|la|der|die|das)\x20'
types:
rating: float
replaygain:
backend: gstreamer
permissions:
file: 644
dir: 755
play:
command: mpv --vid=no
fetchart:
maxwidth: 500
enforce_ratio: 1%
sources: filesystem coverart albumart wikipedia
# vim: set ft=yaml et sw=2 ts=2 :