-
Notifications
You must be signed in to change notification settings - Fork 0
/
fcutSchema.lua
124 lines (124 loc) · 3.05 KB
/
fcutSchema.lua
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
return {
title = 'Fast Cut',
type = 'object',
additionalProperties = false,
properties = {
config = {
title = 'The configuration file',
type = 'string',
default = 'fcut.json',
},
cache = {
title = 'The cache path, relative to the user home',
type = 'string',
default = './.fcut_cache',
},
media = {
title = 'The media path, relative to the work directory',
type = 'string',
default = '.',
},
mediaFilter = {
title = 'The media file filter',
type = 'string',
},
project = {
title = 'A project file to load',
type = 'string',
},
source = {
title = 'A source file to add',
type = 'string',
},
extension = {
title = 'The extensions path',
type = 'string',
},
extensions = {
title = 'The extension to open at startup',
type = 'string',
default = 'extensions',
},
processCount = {
title = 'The maximum number of running processes',
type = 'integer',
default = 2,
minimum = 1,
maximum = 32,
},
ffmpeg = {
type = 'object',
additionalProperties = false,
properties = {
ffmpeg = {
title = 'The ffmpeg path',
type = 'string',
},
ffprobe = {
title = 'The ffprobe path, the default value is computed from the ffmpeg path',
type = 'string',
},
seekDelay = {
title = 'Seek delay in milli seconds',
type = 'integer',
default = 0,
minimum = -2,
maximum = 60000,
},
}
},
loglevel = {
title = 'The log level',
type = 'string',
default = 'warn',
enum = {'error', 'warn', 'info', 'config', 'fine', 'finer', 'finest', 'debug', 'all'},
},
webview = {
type = 'object',
additionalProperties = false,
properties = {
debug = {
title = 'Enable WebView debug mode',
type = 'boolean',
default = false,
},
disable = {
title = 'Disable WebView',
type = 'boolean',
default = false,
},
address = {
title = 'The binding address',
type = 'string',
default = '::'
},
port = {
title = 'WebView HTTP server port',
type = 'integer',
default = 0,
minimum = 0,
maximum = 65535,
},
width = {
title = 'The WebView width',
type = 'integer',
default = 800,
minimum = 320,
maximum = 7680,
},
height = {
title = 'The WebView height',
type = 'integer',
default = 700,
minimum = 240,
maximum = 4320,
},
native = {
title = 'Enable native open file dialog',
type = 'boolean',
default = true,
},
}
},
},
}