Created
May 29, 2021 17:50
-
-
Save trapd00r/6219c14d0ba5e97b144f46f057e4c4b9 to your computer and use it in GitHub Desktop.
beet import singletons as-is
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# beet import -sAW --set artist="$ARTIST" *(.) "$@" | |
# artist tag is always specified | |
paths: | |
singleton: %upper{%left{$artist,1}}/$artist/+tracks/$base_name | |
item_fields: | |
base_name: | | |
import os.path | |
base = os.path.basename(path) | |
return os.path.splitext(base)[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment