dotfiles/multimedia/.config/beets/config.yaml

100 lines
2 KiB
YAML

# much of this such as the whitelist, canonical list for lasgenre
# is stolen from https://github.com/montchr/beets-config/ with much gratitude
directory: ~/media/audio/music
threaded: true
art_filename: albumart
paths:
default: "%the{$albumartist}/$album/$track $title"
singleton: "singletons/%the{$artist - $title}"
comp: compilations/$album/$track $title
albumtype:soundtrack: soundtracks/$album/$track $title
item_fields:
multidisc: 1 if disctotal > 1 else 0
artist_differs: 1 if albumartist != artist else 0
plugins:
- bpd
- chroma
- edit
- fetchart
- embedart
- mbsync
- importadded
- info
- inline
- the
- ftintitle
- fromfilename
- spotify
- deezer
- bandcamp
- acousticbrainz
- lastgenre
- ydl
import:
bell: true
# Doesn't allow upgrades.
# incremental: true
languages:
- en
log: ~/.cache/beets.log
copy: false
move: true
quiet_fallback: skip
timid: false
write: true
# Use the album's original date instead of the release's date
original_date: yes
# Play it safe with filenames
asciify_paths: yes
max_filename_length: 255
edit:
itemfields: track title artist album
albumfields: album albumartist
match:
preferred:
countries: ["US", "UK|GB", "DE", "NL", "SE"]
media: ["Digital Media|File", "CD"]
strong_rec_thresh: 0.15
medium_red_thresh: 0.25
rec_gap_thresh: 0.25
musicbrainz:
extra_tags: [year, catalognum, country, media, label]
albumtypes:
types:
- ep: 'EP'
- single: 'Single'
- soundtrack: 'OST'
- live: 'Live'
- compilation: 'Anthology'
- remix: 'Remix'
ignore_va: compilation
bracket: '[]'
fetchart:
sources: filesystem coverart discogs amazon albumart
lastgenre:
auto: true
canonical: ~/.config/beets/lastgenre_canonicallist.yaml
count: 4
fallback: ""
force: yes
min_weight: 6
prefer_specific: false
separator: "; "
source: album
whitelist: ~/.config/beets/lastgenre_whitelist.txt
bandcamp:
art: true