Skip to content

Instantly share code, notes, and snippets.

@pagdot
Created February 19, 2024 20:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pagdot/7ba903ca27920da8e4fb487f33f22405 to your computer and use it in GitHub Desktop.
Save pagdot/7ba903ca27920da8e4fb487f33f22405 to your computer and use it in GitHub Desktop.
plugins: fetchart embedart convert scrub replaygain lastgenre chroma web fromfilename discogs deezer permissions
directory: /music
library: /db/musiclibrary.blb
art_filename: albumart
threaded: yes
original_date: no
per_disc_numbering: no
convert:
auto: yes
ffmpeg: /usr/bin/ffmpeg
# opts: -ab 320k -ac 2 -ar 48000
# max_bitrate: 320
threads: 4
no_convert:
format:FLAC
format:MP3
format:OggVorbis
format: ogg_max
formats:
mp3_320k:
command: ffmpeg -i $source -y -vn -codec:a libmp3lame -b:a 320k $dest
extension: mp3
mp3_v0:
command: ffmpeg -i $source -y -vn -codec:a libmp3lame -q:a 0 $dest
extension: mp3
mp3_v2:
command: ffmpeg -i $source -y -vn -codec:a libmp3lame -q:a 2 $dest
extension: mp3
mp3_v4:
command: ffmpeg -i $source -y -vn -codec:a libmp3lame -q:a 4 $dest
extension: mp3
mp3_v6:
command: ffmpeg -i $source -y -vn -codec:a libmp3lame -q:a 6 $dest
extension: mp3
ogg_q5:
command: ffmpeg -i $source -y -vn -codec:a libvorbis -qscale:a 5 $dest
extension: ogg
ogg_q6:
command: ffmpeg -i $source -y -vn -codec:a libvorbis -qscale:a 6 $dest
extension: ogg
ogg_q7:
command: ffmpeg -i $source -y -vn -codec:a libvorbis -qscale:a 7 $dest
extension: ogg
ogg_max:
command: ffmpeg -i $source -y -vn -codec:a libvorbis -qscale:a 10 $dest
extension: ogg
paths:
default: $albumartist/$album%aunique{}/$track - $title
singleton: $artist/Non-Album/$title
comp: Compilations/$album%aunique{}/$track - $title
albumtype_soundtrack: Soundtracks/$album/$track $title
match:
distance_weights:
source: 0.25
max_rec:
album: strong
# strong_rec_thresh: 0.10
# ignored: missing_tracks unmatched_tracks
import:
write: yes
move: yes
resume: ask
# incremental: yes
quiet_fallback: skip
timid: no
log: /config/beet.log
lastgenre:
count: 5
whitelist: yes
min_weight: 10
fallback:
canonical: no
source: album
force: yes
auto: yes
separator: ", "
prefer_specific: no
embedart:
remove_art_file: yes
auto: yes
fetchart:
auto: yes
maxwidth: 512
replaygain:
auto: yes
backend: gstreamer
scrub:
auto: yes
replace:
'^\.': _
'[\x00-\x1f]': _
'[<>:"\?\*\|]': _
'[\xE8-\xEB]': e
'[\xEC-\xEF]': i
'[\xE2-\xE6]': a
'[\xF2-\xF6]': o
'[\xF8]': o
'\.$': _
'\s+$': ""
acousticbrainz:
auto: yes
chroma:
auto: yes
permissions:
file: 644
dir: 755
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment