-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yaml
83 lines (83 loc) · 1.88 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
$schema: "http://json-schema.org/draft-07/schema#"
title: Config
description: "Settings for `config.yaml`"
type: object
properties:
playback:
default:
image_duration: 10
muted: false
pause_on_unfocus: false
volume: 1.0
allOf:
- $ref: "#/definitions/Playback"
release:
default:
check: true
allOf:
- $ref: "#/definitions/Release"
view:
default:
confirm_discard_playlist: true
language: en-US
theme: dark
allOf:
- $ref: "#/definitions/View"
definitions:
Language:
description: Display language.
oneOf:
- description: English
type: string
enum:
- en-US
Playback:
type: object
properties:
image_duration:
description: "How long to show images, in seconds."
default: 10
type: integer
format: uint
minimum: 1.0
muted:
description: Whether all players are muted.
default: false
type: boolean
pause_on_unfocus:
description: Whether to pause when window loses focus.
default: false
type: boolean
volume:
description: "Volume level when not muted. 1.0 is 100%, 0.01 is 1%."
default: 1.0
type: number
format: float
Release:
type: object
properties:
check:
description: "Whether to check for new releases. If enabled, the application will check at most once every 24 hours."
default: true
type: boolean
Theme:
description: Visual theme.
type: string
enum:
- light
- dark
View:
type: object
properties:
confirm_discard_playlist:
default: true
type: boolean
language:
default: en-US
allOf:
- $ref: "#/definitions/Language"
theme:
default: dark
allOf:
- $ref: "#/definitions/Theme"