Let there be light!
This commit is contained in:
commit
4653ae0f8e
1 changed files with 69 additions and 0 deletions
69
config.yaml
Normal file
69
config.yaml
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
plugins:
|
||||
fetchart
|
||||
lastgenre
|
||||
edit
|
||||
fromfilename
|
||||
missing
|
||||
inline
|
||||
playlist
|
||||
smartplaylist
|
||||
duplicates
|
||||
# extrafiles
|
||||
# chromaprint
|
||||
|
||||
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/$albumartist/$album/%if{$track, $track }$title'
|
||||
|
||||
default: '$albumartist/$album/$track $title'
|
||||
comp: '0compilations/$album/$track $title'
|
||||
|
||||
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: ['favorite:1']
|
||||
- name: "everyday.m3u"
|
||||
query: ['everyday:1']
|
||||
- name: "word.m3u"
|
||||
query: ['word:1']
|
||||
- name: "control.m3u"
|
||||
query: ['control:1']
|
||||
- name: "precision.m3u"
|
||||
query: ['precision:1']
|
||||
- name: "chiptune.m3u"
|
||||
query: ['genre:chiptune', 'genre:8-bit', 'plchiptune']
|
||||
|
||||
playlist:
|
||||
auto: no
|
||||
relative_to: ~/Music/0playlists
|
||||
playlist_dir: ~/Music/0playlists
|
||||
Loading…
Reference in a new issue