From 008e1e7ae2988a3fa5e961841d03336c5a689a3f Mon Sep 17 00:00:00 2001
From: Jeff LANCE <jeff.lance@mala.fr>
Date: Mon, 2 Jul 2018 23:07:53 +0200
Subject: [PATCH] Add config of beets.

---
 confs/beets.yaml        | 40 ++++++++++++++++++++++++++++++++++++++++
 libs/configs/beets.yaml |  2 ++
 libs/profiles/desktop   |  1 +
 3 files changed, 43 insertions(+)
 create mode 100644 confs/beets.yaml
 create mode 100644 libs/configs/beets.yaml

diff --git a/confs/beets.yaml b/confs/beets.yaml
new file mode 100644
index 0000000..356e48d
--- /dev/null
+++ b/confs/beets.yaml
@@ -0,0 +1,40 @@
+directory: /mnt/zombiman/music 
+library: /mnt/zombiman/music/library.blb
+
+import:
+    copy: no
+    write: no 
+    move: no
+
+paths:
+    default: $albumartist/$year - $album%aunique{}/%if{$multidisc,Disc $disc/}$track - $albumartist - $album%if{$multidisc, (disc $disc)} - $title
+    singleton: Singles/$artist/$track - $artist - $title
+    comp: Compilations/$year - $album%aunique{}/$track - $title
+
+item_fields:
+    multidisc: 1 if disctotal > 1 else 0
+
+plugins:
+    acousticbrainz
+    bpd
+    chroma
+    fetchart
+    inline
+    lyrics
+    mbsync
+    mpdstats
+    mbcollection
+    web
+
+chroma:
+    auto: yes
+
+lyrics:
+    auto: yes
+
+musicbrainz:
+    user: Gune
+    pass: Elisa
+
+mbcollection:
+    auto: yes
diff --git a/libs/configs/beets.yaml b/libs/configs/beets.yaml
new file mode 100644
index 0000000..22d9c56
--- /dev/null
+++ b/libs/configs/beets.yaml
@@ -0,0 +1,2 @@
+- link:
+    ~/.config/beets/config.yaml: confs/beets,yaml
diff --git a/libs/profiles/desktop b/libs/profiles/desktop
index ab56067..f052df5 100644
--- a/libs/profiles/desktop
+++ b/libs/profiles/desktop
@@ -1,6 +1,7 @@
 aacskeys
 abcde
 awesome
+beets
 editorconfig
 emacs
 fonts