This repository has been archived on 2025-01-14. You can view files and clone it, but cannot push or open issues or pull requests.
messagearr/app/initialize_variables.py
Parker 237aec245e
Large Overhaul - Jellyfin Temp Accounts
Temporary jellyfin accounts can now be made through messaging. Commands were moved out and into their own files and functions for organization.
2024-03-22 22:09:55 -05:00

61 lines
1.4 KiB
Python

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'
}
"""