summaryrefslogtreecommitdiff
path: root/docs/examples/music/settings.yaml
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-09-15 17:40:41 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-09-15 17:40:41 +0200
commit3682ac4cb420361634b624d014133b54d6015394 (patch)
tree73de1da6f3b2d4a1b58e6e8a2da732be4c843684 /docs/examples/music/settings.yaml
parent47904917efccafeb29013d040305b78c1b36e821 (diff)
Added an example collection
Diffstat (limited to 'docs/examples/music/settings.yaml')
-rw-r--r--docs/examples/music/settings.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/examples/music/settings.yaml b/docs/examples/music/settings.yaml
new file mode 100644
index 0000000..fdad13f
--- /dev/null
+++ b/docs/examples/music/settings.yaml
@@ -0,0 +1,38 @@
+name: My Music
+lang: english
+entry_label: '{{ short_id }}: {{ artists | join("; ") }} / {{ title }}'
+git: true
+fields:
+- name: title
+ type: string
+ index: free
+- name: artists
+ type: list
+ list: string
+ index: free
+- name: label
+ type: string
+ index: field
+- name: year
+ type: integer
+ index: field
+- name: genres
+ type: list
+ list: string
+ index: field
+- name: medium
+ type: string
+ help: 'CD|DVD|Cassette|Vinyl|File'
+ index: field
+- name: purchase_date
+ type: string
+- name: purchase_price
+ type: string
+- name: gift
+ type: boolean
+- name: tracks
+ type: list
+ list: yaml
+- name: comments
+ type: text
+ index: free