Skip to content

Instantly share code, notes, and snippets.

@jonathanthomas83
Last active January 27, 2018 19:02
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 jonathanthomas83/9486d94e236d8bb44867664213ddb276 to your computer and use it in GitHub Desktop.
Save jonathanthomas83/9486d94e236d8bb44867664213ddb276 to your computer and use it in GitHub Desktop.
JT's Beets config
# Beets configuration --------------------------------------------------------
library: /music/collection/library.db
directory: /music/collection
import:
# write metadata to music files
write: yes
# move imported files from source to the music directory
copy: no
move: yes
# do not require confirmation on strong matches
timid: no
resume: ask
log: beetslog.txt
# files matching these patterns are deleted from source after import
clutter: ["Thumbs.DB", ".DS_Store", "*.txt", ".pls", "*.jpg", "*.pdf"]
# use the release-date of the original (first) release of an album?
original_date: yes
# on multi-disk releases, assign track numbers for the whole album.
# If "per disk", make sure tracknames do not collide ("paths" setting).
per_disc_numbering: no
# Paths ----------------------------------------------------------------------
asciify_paths: yes
original_date: yes
# Paths and filenames for music files
# relative to music directory
paths:
default: artists/$albumartist_sort/$original_year $album%aunique{}/$track $title
albumtype:ep: artists/$albumartist_sort/$original_year $album%aunique{} - EP/$track $title
albumtype:single: artists/$albumartist_sort/$original_year $album%aunique{} - Single/$track $title
albumartist:Various Artists: compilations/$album%aunique{} $original_year/$track $artist - $title
ext:log: $albumpath/$albumartist - $album
ext:cue: $albumpath/$albumartist - $album
ext:m3u: $albumpath/$albumartist - $album
ext:LOG: $albumpath/$albumartist - $album
ext:CUE: $albumpath/$albumartist - $album
ext:M3U: $albumpath/$albumartist - $album
# replace special characters in generated filenames
replace:
'[\\/]': _
'^\.': _
'[\x00-\x1f]': _
'[<>:"\?\*\|]': _
'\.$': _
'\s+$': ''
'^\s+': ''
# General --------------------------------------------------------------------
# use mutliple threads during import
threaded: yes
timeout: 5.0
verbose: no
# User Interface -------------------------------------------------------------
color: yes
list_format_item: %upper{$artist} - $album - $track. $title
list_format_album: %upper{$albumartist} - $album
time_format: '%Y-%m-%d %H:%M:%S'
terminal_encoding: utf8
ui:
terminal_width: 80
length_diff_thresh: 10.0
# Plugins --------------------------------------------------------------------
plugins:
- importadded
- mbsync
- mbcollection
- zero
- copyartifacts
pluginpath: ~/beets/myplugins
# Plugins Config -------------------------------------------------------------
musicbrainz:
user: ***
pass: ***
copyartifacts:
extensions: .cue .log .m3u .CUE .LOG .M3U
print_ignored: yes
match:
preferred:
countries: ['GB|UK', 'US']
media: ['CD', 'Digital Media|File']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment