Skip to content

Instantly share code, notes, and snippets.

@milnak
Last active May 29, 2025 20:48
Show Gist options
  • Save milnak/d5b5841ef15b164226953f4a51c4bbd8 to your computer and use it in GitHub Desktop.
Save milnak/d5b5841ef15b164226953f4a51c4bbd8 to your computer and use it in GitHub Desktop.
My beet configuration file
# Beets configuration
# ~/.config/beets/config.yaml
# https://beets.readthedocs.io/en/stable/reference/config.html
# Global Options
# --------------
library: /mount/usb/Music/beets.db
directory: /mount/usb/Music/
# Not using replaygain due to this bug: `replaygain` plugin hangs for a few minutes doing nothing, before actually generating tags · Issue #5449 · beetbox/beets
plugins:
- convert
- export
- fetchart
- lastgenre
- lyrics
- missing
- random
threaded: yes
# per_disc_numbering: yes
# max_filename_length: 255
# Importer Options
# ----------------
import:
move: yes
copy: no
write: yes
# log: ~/.config/beets/beets.log
# Path Format Configuration
# -------------------------
paths:
default: $albumartist/$album%aunique{}/$track $title
singleton: Non-Album/$artist/$title
comp: Compilations/$album%aunique{}/$track $title
# Following requires "per_disc_numbering: yes"...
# default: $albumartist/$album%aunique{}/%if{$multidisc,$disc-}$track $title
# singleton: $albumartist/Singles/$artist - $title
# comp: Various Artists/$album%aunique{}/%if{$multidisc,$disc-}$track $artist - $title
# albumtype:soundtrack: Soundtracks/$album/%if{$multidisc,$disc-}$track $artist - $title
# Plugin Options
# --------------
lyrics:
auto: no
sources: [genius, lrclib]
export:
json:
formatting:
ensure_ascii: false
indent: 4
separators: [',' , ': ']
sort_keys: true
csv:
formatting:
delimiter: ','
dialect: excel
lastgenre:
# Overwrite all. Only fresh last.fm genres remain.
force: yes
keep_existing: no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment