-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.yaml
68 lines (66 loc) · 1.88 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# beets-config
# https://github.com/Schweinepriester/beets-config
#
# Dependencies
# 1. See beets-config_requirements.txt - Install: 'pip install -r beets-config_requirements.txt'
# 2. EmbedArt & FetchArt need ImageMagick
# - OS X: sudo port install ImageMagick
# - Windows: Download and install latest from http://imagemagick.org
### replace ###
#directory: @directory@
#library: @library@
### start actual config ###
plugins: fetchart lastgenre embedart zero inline lyrics ftintitle discogs fromfilename edit acousticbrainz
#pluginpath: @pluginpath@
paths:
default: $albumartist/$album%aunique{}/%if{$multidisc,CD$disc/}$albumartist - $album%aunique{} - $track $title
replace:
'[\\/]': _ #default
'^\.': ''
'[\x00-\x1f]': _ #default
'[<>:"\?\*\|]': ''
'\.$': ''
'\s+$': '' #default
'^\s+': '' #default
import:
copy: yes # default
write: yes # default
resume: ask # default
quiet_fallback: skip # default
timid: no # default
log: beetslog.txt
fetchart:
auto: yes # default
minwidth: 750
maxwidth: 2000
enforce_ratio: yes
sources: coverart itunes amazon albumart filesystem
zero:
fields: comments
embedart:
auto: yes # default
remove_art_file: yes
ftintitle:
auto: yes # default
lyrics:
auto: yes # default
force: no # default
#google_API_key: @google_API_key@
album_fields:
bitrate: |
total = 0
for item in items:
total += item.bitrate
bitrate = total / len(items)
return str(bitrate)[:3]
format_album: 'Musik: $albumartist - $album ($genre - $year) @ $bitrate kBit/s'
per_disc_numbering: yes
item_fields:
multidisc: 1 if disctotal > 1 else 0
sort_album: added- albumartist+ album+
match:
strong_rec_thresh: 0.001 # only 100 % automatically
preferred:
countries: ['XW|XE', 'US|DE']
media: ['Digital Media|CD']
original_year: yes