aboutsummaryrefslogtreecommitdiff
path: root/app/initialize_variables.py
blob: 09221f7726bfed0314ff576955353ebbd3d22a37 (plain)
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
supported_sms_services = ['telnyx', 'twilio']

numbers_responses = {
    '1': 1, 'one': 1, '1.': 1,
    '2': 2, 'two': 2, '2.': 2,
    '3': 3, 'three': 3, '3.': 3
}

def init():
    global sms_service
    sms_service = ''
    global telnyx_api_key
    telnyx_api_key = ''
    global twilio_account_sid
    twilio_account_sid = ''
    global twilio_auth_token
    twilio_auth_token = ''
    global api_number
    api_number = ''
    global valid_senders
    valid_senders = []
    global radarr_host_url
    radarr_host_url = ''
    global headers
    headers = ''
    global root_folder_path
    root_folder_path = ''
    global quality_profile_id
    quality_profile_id = ''
    global authorization_header_tokens
    authorization_header_tokens= ''
    global notifs_recievers
    notifs_recievers = []
    global enable_jellyfin_temp_accounts
    enable_jellyfin_temp_accounts = ''
    global jellyfin_url
    jellyfin_url = ''
    global jellyfin_headers
    jellyfin_headers = ''
    global home_domain
    home_domain = ''
    global db_path
    db_path = ''

    global temp_movie_ids
    temp_movie_ids = {}
    """
    {
        'from_number': {
            'ids': ['tmdb_id_one', 'tmdb_id_two', 'tmdb_id_three'],
            'time': 'time of request'
        }
    }
    """
    global temp_new_account_requests
    temp_new_account_requests = {}
    """
    {
        'from_number': 'time'
    }
    """