[beets] Improve paths

Apparently my “the” plugin wasn’t even triggered! Now it is.
This commit is contained in:
M1dgard 2018-11-04 17:19:07 +01:00
parent 0bf42692a8
commit 10cf4ac891
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -21,18 +21,19 @@ musicbrainz:
original_date: yes original_date: yes
replace: replace:
'^!!!$': 'Chk_Chk_Chk' '^!!!$': 'Chk_Chk_Chk'
'[#"()\[\]<>:\*\|{}\\!\?]': _ '[#"()\[\]<>:\*\|{}\\!\?]': _
"'": _ "'": _
'[\\/]': _ '[\\/]': _
'[\.,]': _ '[\.,]': _
'[\x00-\x1f]': _ '[\x00-\x1f]': _
'&': '_and_' 'Samson & Gert': 'Samson_en_Gert'
'\+': '_plus_' '&': '_and_'
'\s+': _ '\+': '_plus_'
'[-_]+': _ '\s+': _
'^[-_](?!$)': '' '[-_]+': _
'(?<!^)[-_]$': '' '^[-_](?!$)': ''
'(?<!^)[-_]$': ''
# first (non-pregap) track on each disc always has track number 1 # first (non-pregap) track on each disc always has track number 1
per_disc_numbering: yes per_disc_numbering: yes
@ -41,16 +42,16 @@ item_fields:
multidisc: disctotal > 1 multidisc: disctotal > 1
paths: paths:
default: $albumartist/$album%aunique{}/%if{$multidisc,${disc}_}_${track}_-_${title} default: %the{$albumartist}/%the{$album}%aunique{}/%if{$multidisc,${disc}_}_${track}_-_$title
singleton: $artist/etc/$title singleton: %the{$artist}/etc/$title
comp: various_artists/$album%aunique{}/%if{$multidisc,${disc}_}_${track}_-_${title} comp: various_artists/%the{$album}%aunique{}/%if{$multidisc,${disc}_}_${track}_-_$title
va_name: various artists va_name: various artists
languages: ["nl", "en"] languages: ["nl", "en"]
bell: yes bell: yes
plugins: edit inline the types fetchart lyrics mpdupdate mbsync mbsubmit badfiles absubmit acousticbrainz replaygain permissions fromfilename lastgenre play fuzzy info plugins: edit inline the types fetchart lyrics mpdupdate mbsync mbsubmit badfiles acousticbrainz replaygain permissions fromfilename lastgenre play fuzzy info
edit: edit:
itemfields: track disc title artist album mb_trackid itemfields: track disc title artist album mb_trackid
@ -70,7 +71,8 @@ lastgenre:
the: the:
strip: yes strip: yes
patterns: ^de ^een # this string is split on spaces so we use the escape sequence
patterns: '^(de|het|een|une?|les?|la|der|die|das)\x20'
types: types:
rating: float rating: float