87 lines
2.2 KiB
YAML
87 lines
2.2 KiB
YAML
plugins:
|
|
musicbrainz
|
|
inline
|
|
info
|
|
fetchart
|
|
edit
|
|
duplicates
|
|
mbsync
|
|
lastgenre
|
|
missing
|
|
playlist
|
|
smartplaylist
|
|
fromfilename
|
|
beetslabels
|
|
# extrafiles
|
|
# chromaprint
|
|
|
|
pluginpath:
|
|
- /home/benson/.config/beets/plugins
|
|
|
|
directory: /home/benson/Music
|
|
library: /home/benson/Music/library.db
|
|
|
|
# Even though it's possible, most of the time you don't need %if for
|
|
# missing fields. Track is an exception, because it's 0 by default.
|
|
|
|
paths:
|
|
youtube-dl:1: '1youtube-dl/$albumartist/$album/$filename'
|
|
orphan:1: '1orphans/$album/$filename'
|
|
album::'Newgrounds Audio Portal': '0singles/Newgrounds Audio Portal/$artist/$title'
|
|
trash:1: '1trash/$album/$artist - $title'
|
|
|
|
singleton: '0singles/$artist/$title'
|
|
|
|
# default missing_core:1: '1incomplete/$albumartist/$album/%if{$track,$track }$title'
|
|
mb_albumid::^$: '1unmatched/%if{$albumartist, $albumartist/}$album/%if{$track, $track }$title'
|
|
|
|
default: '$albumartist/$album/$track $title'
|
|
comp: '0compilations/$album/$track $title'
|
|
|
|
import:
|
|
languages: en
|
|
|
|
item_fields:
|
|
filename: |
|
|
import os
|
|
from beets.util import bytestring_path
|
|
# from pathlib import Path
|
|
# return bytestring_path(str(Path(str(path)).stem))
|
|
return os.path.splitext(os.path.basename(path))[0]
|
|
missing_core: |
|
|
if album == "" or \
|
|
track == 0 or \
|
|
albumartist == "":
|
|
return 1
|
|
return 0
|
|
|
|
smartplaylist:
|
|
relative_to: ~/Music/0beets_playlists
|
|
playlist_dir: ~/Music/0beets_playlists
|
|
forward_slash: no
|
|
playlists:
|
|
- name: "favorites.m3u"
|
|
query: ['plfavorites:1']
|
|
- name: "focus.m3u"
|
|
query: ['plfocus:1']
|
|
- name: "warmth.m3u"
|
|
query: ['plwarmth:1']
|
|
- name: "relax.m3u"
|
|
query: ['plrelax:1']
|
|
- name: "everyday.m3u"
|
|
query: ['^pleveryday::^$ pleveryday-']
|
|
- name: "word.m3u"
|
|
query: ['plword:1']
|
|
- name: "control.m3u"
|
|
query: ['plcontrol:1']
|
|
- name: "precision.m3u"
|
|
query: ['plprecision:1']
|
|
- name: "exercise.m3u"
|
|
query: ['^plexercise::^$ plexercise-']
|
|
- name: "chiptune.m3u"
|
|
query: ['genre:chiptune', 'genre:8-bit', 'plchiptune:1']
|
|
|
|
playlist:
|
|
auto: no
|
|
relative_to: ~/Music/0playlists
|
|
playlist_dir: ~/Music/0playlists
|