Skip to content

Instantly share code, notes, and snippets.

@jbtyndall
Created February 9, 2021 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbtyndall/dcd615a4dc920ff4b32c8a8a248cb1e5 to your computer and use it in GitHub Desktop.
Save jbtyndall/dcd615a4dc920ff4b32c8a8a248cb1e5 to your computer and use it in GitHub Desktop.
Beets configuration
plugins: the fetchart embedart convert scrub replaygain lastgenre chroma web
directory: /music
library: /config/musiclibrary.blb
art_filename: cover # results in "cover.jpg"
threaded: yes
original_date: no
per_disc_numbering: yes
convert:
auto: no
ffmpeg: /usr/bin/ffmpeg
opts: -ab 320k -ac 2 -ar 48000
max_bitrate: 320
threads: 1
aunique:
keys: albumartist album
disambiguators: albumtype year label catalognum albumdisambig releasegroupdisambig
bracket: '{}'
# files matching these patterns are deleted from source after import
clutter: ["Thumbs.DB", ".DS_Store", "*.m3u", ".pls", "*.jpg"]
# files/directories matching one of these patterns are ignored during import
ignore: [".*", "*~", "System Volume Information"]
paths:
default: %the{$albumartist}/$original_year-$original_month-$original_day - $album %aunique{} [%upper{$format}]/$disc-$track - $title
singleton: Non-Album/$artist - $title
comp: Compilations/$album%aunique{}/$track - $title
albumtype_soundtrack: Soundtracks/$album/$track $title
import:
#write metadata to music files
write: yes
#move imported files from source directory to music directory
copy: no
move: yes
delete:no
# use auto-tagging where possible
autotag:yes
timid: no
resume: ask
incremental: yes
#discard existing metadata
from_scratch: yes
quiet_fallback: skip
default_action: apply
singletons: no
languages: [en]
log: /config/beet.log
lastgenre:
auto: yes
source: album
embedart:
auto: yes
fetchart:
auto: yes
replaygain:
auto: no
scrub:
auto: yes
replace:
'^\.': _
'[\x00-\x1f]': _
'[<>:"\?\*\|]': _
'[\xE8-\xEB]': e
'[\xEC-\xEF]': i
'[\xE2-\xE6]': a
'[\xF2-\xF6]': o
'[\xF8]': o
'\.$': _
'\s+$': ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment