-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
65 lines (51 loc) · 1.98 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# A random string used to encrypt login credentials. Change this!
secret: "changeme"
# The port the application will listen on.
port: 3684
# A directory where cover art wil be stored.
art path: "temp/art"
# Scaled copies of artwork at these sizes will be generated during imports.
# This can be useful for clients who ask for thumbnail images and servers
# which are slow at generating them on the fly!
art sizes:
- 120
- 200
# If true then artwork will be scaled to whatever size a client asks for.
# If false then the smallest compliant pre-scaled (or original) artwork will be provided.
resize art: true
# Connection string to the application's Postgres database.
db: "host=localhost port=5432 user=sound password=sound dbname=sound_test sslmode=disable"
# Path to the logging configuration file.
log config: "log-config.xml"
# Any artist whose name begins with one of these words will be sorted as if that word wasn't there.
ignored articles:
- A
- The
- El
- Los
# Add an entry for each folder which you want to be scanned for music.
filesystem:
- # Path to the folder
path: "./testdata/music"
# Any name to refer to this folder by
name: "Gertrude's bangers"
# Files will only be scanned if they have one of these extensions
extensions:
- mp3
- flac
# Add an entry for each beets library which you want to be scanned for music.
beets:
# - # Path to the library's database file
# database: "./testdata/beetslib.blb"
# Any name to refer to this beets library by
# name: "My beets music"
# Add an entry for each user you want to set up
users:
- username: gertrude
password: changeme
# The CORS header value which will be included in every response
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
access control allow origin: "*"
# How many seconds websocket tickets are valid for after being requested.
# This is used by the front-end web app and does not usually need to be changed.
websocket ticket expiry: 30