-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
44 lines (44 loc) · 1.05 KB
/
config.json
File metadata and controls
44 lines (44 loc) · 1.05 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
{
"language": "zh",
"sources": {
"domestic": {
"name": "国内源",
"name_en": "Domestic Source",
"url": "https://live.hacks.tools/tv/iptv4.m3u",
"filename": "domestic.m3u",
"enabled": true
},
"international": {
"name": "国际源",
"name_en": "International Source",
"url": "https://live.hacks.tools/iptv/index.m3u",
"filename": "international.m3u",
"enabled": true
}
},
"directories": {
"base_dir": "/opt/IPTV-Manager",
"data_dir": "data",
"backup_dir": "backup",
"log_dir": "logs"
},
"download": {
"timeout": 30,
"retry_count": 3,
"retry_delay": 5,
"max_workers": 4,
"user_agent": "IPTV-Manager/1.0"
},
"maintenance": {
"backup_retention_days": 7,
"log_retention_days": 30,
"enable_backup": true,
"enable_cleanup": true
},
"logging": {
"level": "INFO",
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
"max_size_mb": 10,
"backup_count": 5
}
}