-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
55 lines (41 loc) · 1.52 KB
/
conf.py
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
# MediaServer client base configuration
# This file should not be modified directly, put your modification in another json file and give the path to the client.
BASE_CONF = {
# Logging level
'LOG_LEVEL': 'INFO',
# URL of the MediaServer site
'SERVER_URL': 'https://mediaserver',
# API key of the MediaServer user account
'API_KEY': '',
# Client name used as origin name of added media
'CLIENT_ID': 'python-api-client',
# Language for API messages
# Use None to use MediaServer default language
# Supported languages are 'en' or 'fr'
'LANGUAGE': 'en',
# Use a persistent session for requests
'USE_SESSION': True,
# If failures should be auto-retried N times
# Disabled by default
'MAX_RETRY': 0,
# List of status codes that should not trigger a retry
'RETRY_EXCEPT': [403, 404],
# Check server SSL(TLS) certificate
'VERIFY_SSL': False,
# API requests max duration in seconds
'TIMEOUT': 10,
# Proxies for API requests
# To use system proxies: None (proxies should be set in environment)
# To disable proxies: {'http': '', 'https': ''}
# To use a proxy: {'http': 'http://10.10.1.10:3128', 'https': 'http://10.10.1.10:1080'}
'PROXIES': None,
# Chunk size for uploads (in bytes)
'UPLOAD_CHUNK_SIZE': 26214400,
# Maximum number of files per request
'UPLOAD_MAX_FILES': 100,
# External SMTP server config
'SMTP_SERVER': None,
'SMTP_LOGIN': None,
'SMTP_PASSWORD': None,
'SMTP_SENDER_EMAIL': None,
}