about summary refs log tree commit diff stats
path: root/modules/home/conf/beets/replace_override.yaml
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 02:34:43 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 13:22:13 +0200
commit8f45c86aa7647ad5491ef169cbea871301c5651f (patch)
treed308dd0e9788761d3fcd1921ba2752d6bd12e817 /modules/home/conf/beets/replace_override.yaml
parentfeat(home/beets): Remove the deezer plugin (it was a mere crutch) (diff)
downloadnixos-config-8f45c86aa7647ad5491ef169cbea871301c5651f.tar.gz
nixos-config-8f45c86aa7647ad5491ef169cbea871301c5651f.zip
fix(home/beets): Specify replacement schema
Diffstat (limited to 'modules/home/conf/beets/replace_override.yaml')
-rw-r--r--modules/home/conf/beets/replace_override.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/home/conf/beets/replace_override.yaml b/modules/home/conf/beets/replace_override.yaml
new file mode 100644
index 00000000..23d6ea55
--- /dev/null
+++ b/modules/home/conf/beets/replace_override.yaml
@@ -0,0 +1,10 @@
+---
+replace:
+    '[\\/]': _
+    '^\.': _
+    '[\x00-\x1f]': _
+    '[<>:"\?\*\|]': _
+    '\.$': _
+    '\s+$': ''
+    '^\s+': ''
+    '^-': _