Files
infrastructure/ansible/roles/beets/files/config.yaml
2025-12-02 15:01:25 -05:00

73 lines
1.3 KiB
YAML

directory: /music
per_disc_numbering: yes
plugins: fetchart embedart web inline lyrics musicbrainz scrub lastgenre replaygain
paths:
default: $albumartist/$album%aunique{}/%if{$multidisc,$disc}$track - $title
singleton: Non-Album/$artist - $title
comp: Various Artists/$album%aunique{}/%if{$multidisc,$disc}$track - $title
item_fields:
multidisc: 1 if disctotal > 1 else 0 # Makes it so track number is preceded by disc number only if album contains multiple discs
import:
write: yes
move: yes
resume: ask
incremental: yes
quiet_fallback: skip
timid: no
log: /config/beet.log
languages: "en jp es"
asciify_paths: yes
embedart:
auto: yes
fetchart:
auto: yes
high_resolution: yes
source:
- filesystem
- itunes
- coverart
- amazon
match:
strong_rec_thresh: 0.10
ignored_media: ['12" Vinyl']
lyrics:
sources: [lrclib, genius, tekstowo]
scrub:
auto: yes
replaygain:
auto: yes
backend: ffmpeg
# Consider directory empty even if files matching the below patterns are present
clutter:
- "*.jpg"
- "*.png"
- "*.nfo"
replace:
'^\.': _
'[\x00-\x1f]': _
'[<>:"\?\*\|]': _
'[\xE8-\xEB]': e
'[\xEC-\xEF]': i
'[\xE2-\xE6]': a
'[\xF2-\xF6]': o
'[\xF8]': o
'\.$': _
'\s+$': ''
web:
host: 0.0.0.0
port: 8337