multimedia: Update beets configuration
This commit is contained in:
parent
2bff4dfe76
commit
e72da98946
2 changed files with 72 additions and 55 deletions
|
@ -2,9 +2,40 @@
|
||||||
# is stolen from https://github.com/montchr/beets-config/ with much gratitude
|
# is stolen from https://github.com/montchr/beets-config/ with much gratitude
|
||||||
|
|
||||||
directory: ~/media/audio/music
|
directory: ~/media/audio/music
|
||||||
|
library: ~/.local/share/beets/library.db
|
||||||
|
|
||||||
threaded: true
|
threaded: true
|
||||||
art_filename: albumart
|
art_filename: albumart
|
||||||
|
# Use the album's original date instead of the release's date
|
||||||
|
original_date: yes
|
||||||
|
# Use safer pathnames
|
||||||
|
asciify_paths: yes
|
||||||
|
max_filename_length: 255
|
||||||
|
|
||||||
|
# Long format - I don't need all the extra info for each invocation
|
||||||
|
#format_item: '[$id] [$album_id] [$singleton] $albumartist - $title - $album - $original_year - [$format - $bitrate $length $filesize]'
|
||||||
|
#format_album: '[$id] $albumartist - $album - $original_year [$catalognum]'
|
||||||
|
|
||||||
|
clutter:
|
||||||
|
- Thumbs.db
|
||||||
|
- .DS_Store
|
||||||
|
- '*.m3u'
|
||||||
|
- '*.pls'
|
||||||
|
- '*.db'
|
||||||
|
|
||||||
|
import:
|
||||||
|
copy: false
|
||||||
|
move: true
|
||||||
|
write: true
|
||||||
|
bell: true
|
||||||
|
# incremental: true
|
||||||
|
languages:
|
||||||
|
- en
|
||||||
|
log: ~/.cache/beets.log
|
||||||
|
quiet_fallback: skip
|
||||||
|
timid: false
|
||||||
|
|
||||||
|
ignore_hidden: yes
|
||||||
paths:
|
paths:
|
||||||
default: "%the{$albumartist}/$album/$track $title"
|
default: "%the{$albumartist}/$album/$track $title"
|
||||||
singleton: "singletons/%the{$artist - $title}"
|
singleton: "singletons/%the{$artist - $title}"
|
||||||
|
@ -15,49 +46,12 @@ item_fields:
|
||||||
multidisc: 1 if disctotal > 1 else 0
|
multidisc: 1 if disctotal > 1 else 0
|
||||||
artist_differs: 1 if albumartist != artist else 0
|
artist_differs: 1 if albumartist != artist else 0
|
||||||
|
|
||||||
plugins:
|
musicbrainz:
|
||||||
- bpd
|
extra_tags: [year, catalognum, country, media, label]
|
||||||
- chroma
|
user: martyo
|
||||||
- edit
|
pass: u^a<7YKULz\#CKX\-Fm]K%Up0
|
||||||
- fetchart
|
auto: yes
|
||||||
- embedart
|
remove: yes
|
||||||
- mbsync
|
|
||||||
- importadded
|
|
||||||
- info
|
|
||||||
- inline
|
|
||||||
- the
|
|
||||||
- ftintitle
|
|
||||||
- fromfilename
|
|
||||||
- spotify
|
|
||||||
- deezer
|
|
||||||
- bandcamp
|
|
||||||
- acousticbrainz
|
|
||||||
- lastgenre
|
|
||||||
- ydl
|
|
||||||
|
|
||||||
import:
|
|
||||||
bell: true
|
|
||||||
# Doesn't allow upgrades.
|
|
||||||
# incremental: true
|
|
||||||
languages:
|
|
||||||
- en
|
|
||||||
log: ~/.cache/beets.log
|
|
||||||
copy: false
|
|
||||||
move: true
|
|
||||||
quiet_fallback: skip
|
|
||||||
timid: false
|
|
||||||
write: true
|
|
||||||
|
|
||||||
# Use the album's original date instead of the release's date
|
|
||||||
original_date: yes
|
|
||||||
|
|
||||||
# Play it safe with filenames
|
|
||||||
asciify_paths: yes
|
|
||||||
max_filename_length: 255
|
|
||||||
|
|
||||||
edit:
|
|
||||||
itemfields: track title artist album
|
|
||||||
albumfields: album albumartist
|
|
||||||
|
|
||||||
match:
|
match:
|
||||||
preferred:
|
preferred:
|
||||||
|
@ -67,19 +61,35 @@ match:
|
||||||
medium_red_thresh: 0.25
|
medium_red_thresh: 0.25
|
||||||
rec_gap_thresh: 0.25
|
rec_gap_thresh: 0.25
|
||||||
|
|
||||||
musicbrainz:
|
plugins:
|
||||||
extra_tags: [year, catalognum, country, media, label]
|
- acousticbrainz
|
||||||
|
- bandcamp
|
||||||
|
- chroma
|
||||||
|
- deezer
|
||||||
|
- describe
|
||||||
|
- edit
|
||||||
|
- embedart
|
||||||
|
- export
|
||||||
|
- fetchart
|
||||||
|
- fromfilename
|
||||||
|
- ftintitle
|
||||||
|
- fuzzy
|
||||||
|
- importadded
|
||||||
|
- info
|
||||||
|
- inline
|
||||||
|
- lastgenre
|
||||||
|
- lastimport
|
||||||
|
- mbcollection
|
||||||
|
- mbsync
|
||||||
|
- missing
|
||||||
|
- spotify
|
||||||
|
- the
|
||||||
|
- ydl
|
||||||
|
|
||||||
albumtypes:
|
edit:
|
||||||
types:
|
itemfields: track title artist album
|
||||||
- ep: 'EP'
|
albumfields: album albumartist albumtype
|
||||||
- single: 'Single'
|
ignore_fields: id path
|
||||||
- soundtrack: 'OST'
|
|
||||||
- live: 'Live'
|
|
||||||
- compilation: 'Anthology'
|
|
||||||
- remix: 'Remix'
|
|
||||||
ignore_va: compilation
|
|
||||||
bracket: '[]'
|
|
||||||
|
|
||||||
fetchart:
|
fetchart:
|
||||||
sources: filesystem coverart discogs amazon albumart
|
sources: filesystem coverart discogs amazon albumart
|
||||||
|
@ -96,5 +106,8 @@ lastgenre:
|
||||||
source: album
|
source: album
|
||||||
whitelist: ~/.config/beets/lastgenre_whitelist.txt
|
whitelist: ~/.config/beets/lastgenre_whitelist.txt
|
||||||
|
|
||||||
|
lastfm:
|
||||||
|
user: schmitzkater
|
||||||
|
|
||||||
bandcamp:
|
bandcamp:
|
||||||
art: true
|
art: true
|
||||||
|
|
4
multimedia/.config/sh/env.d/beets-ensure-library-dir.sh
Normal file
4
multimedia/.config/sh/env.d/beets-ensure-library-dir.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
# Ensure the directory for beets library exists or it errors out on startup
|
||||||
|
|
||||||
|
[ -e "${XDG_DATA_HOME:-$HOME/.local/share}/beets" ] || mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/beets"
|
Loading…
Reference in a new issue