{% extends "base.html" %} {% block title %}{{ page_title }}{% endblock %} {% block content %}

Configuration

Manage application settings and preferences.

General Settings
Video Settings
API Settings
Base URL for FastAPI server requests (include https:// or http://)
Authentication token for FastAPI server access
Time between automatic API requests (30 seconds to 24 hours)
Timeout for API requests (5-300 seconds)
Enable/disable automatic API requests
Sign-up Settings
Control user registration for dashboard and website
Allow admin users to create new users (brokers, players, cashiers) through the admin dashboard.
Note: This is for internal user management by administrators.
Allow new users to register as brokers or players through the public website.
Warning: When enabled, anyone can create an account. Disable this if you want to control user creation manually.
Email/SMTP Settings
Configure email server for user verification and password reset
Enable email sending for verification and password reset
SMTP server hostname
SMTP server port (587 for TLS, 465 for SSL)
Email address used to send emails
Password for SMTP authentication
Email address that appears as sender
Name that appears as sender
Base URL for email verification and reset links
Encryption method for SMTP connection
Screen Cast Settings
Enable screen capture and Chromecast streaming functionality
Port for the HTTP streaming server (1024-65535)
Name of preferred Chromecast device (optional)
Automatically start capturing when application starts
Automatically start streaming when capture begins
HLS Streaming Settings
Configure video streaming for web players
Port for HLS video streaming (default: 5884)
Lower framerate = less CPU usage
Smaller segments = faster video start
High quality bitrate. Medium = 2/3, Low = 1/3 of this value.

Video Hostname Configuration (Optional)

Configure a separate hostname for video files to avoid browser connection limits. This helps when many clients connect simultaneously.

Leave empty to use same host as web dashboard
Leave empty to use same port
How Video Hostname Works:
  • Browsers limit ~6-8 connections per origin (hostname + port)
  • Using a separate hostname for video doubles available connections
  • The video hostname can resolve to the same IP address
  • Example: video.example.com → same server as example.com
Database Settings
Global Betting Mode Settings
Admin Only - System-wide Configuration
Global System Setting: Determines how START_GAME messages affect match status across all fixtures.
This affects all users and all game sessions.
Venue Timezone Settings
Configure the timezone for your venue location (affects day change calculations)
Important: This timezone determines when "day change" occurs for fixtures and matches. All dates are stored in UTC internally, but day boundaries are calculated using this venue timezone.
Change requires application restart to take full effect.
Loading...
Current time in the selected venue timezone
Currency Settings
Configure primary currency for website, billing, and display
Primary System Currency
Important: This is the main currency used for broker billing, subscription plans, and website pricing.
Select from available currencies in the system database.
Display Settings
Choose the currency symbol to display in betting pages and thermal receipts
Choose where to display the currency symbol relative to the amount
USh 150.50
This is how amounts will appear in the application
Barcode Settings
Configure barcode generation for bet verification and thermal printing
Generate barcodes alongside QR codes for bet verification
Choose barcode standard compatible with your scanners
Image width in pixels (100-800)
Image height in pixels (50-300)
Include barcode on printed betting receipts
Display barcode on bet verification page
QR Code Settings
Configure QR code generation for bet verification and thermal printing
Generate QR codes for bet verification and mobile access
Image size in pixels (square, 100-500)
Higher error correction allows damaged QR codes to still be readable
Include QR code on printed betting receipts
Display QR code on bet verification page
API Client Debug
Test and monitor API client functionality
{% endblock %}