-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
65 lines (65 loc) · 1.54 KB
/
appsettings.json
File metadata and controls
65 lines (65 loc) · 1.54 KB
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
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Data Source=singlestepviewer.db"
},
"Playback": {
"VlcPath": "C:\\Program Files\\VideoLAN\\VLC",
"DefaultVolume": 80,
"EnableFullscreen": true,
"EnableVideoOutput": true
},
"Scheduling": {
"PriorityWeight": 10.0,
"FairnessWeight": 5.0,
"UserCooldownMinutes": 15,
"QueueCheckIntervalSeconds": 5
},
"Video": {
"StoragePath": "./videos",
"MaxConcurrentDownloads": 2,
"YtDlpPath": "yt-dlp.exe",
"PreferredFormat": "bestvideo+bestaudio/best",
"AdditionalArguments": "--js-runtimes node"
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://0.0.0.0:80"
}
}
},
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "logs/log-.txt",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
}
}
]
}
}