Source Types
Dispatcharr supports two types of M3U sources:Standard M3U
Direct M3U playlist URL with standard format
Xtream Codes
Xtream Codes API integration for IPTV providers
Creating an M3U Source
Configuration Fields
Basic Settings
Unique name for this M3U source. Used to identify the source in the system.
Source type selection:
STD- Standard M3U playlist URLXC- Xtream Codes API
Enable or disable this M3U source. Disabled sources will not refresh or provide streams.
Connection Settings
Standard M3U Configuration
Standard M3U Configuration
Xtream Codes Configuration
Xtream Codes Configuration
Base URL of the Xtream Codes server (without username/password):
Xtream Codes account username
Xtream Codes account password
Xtream Codes sources automatically retrieve account information including expiration dates, connection limits, and active connections via the API.
Advanced Settings
Custom User-Agent header for HTTP requests. Falls back to system default if not specified.See User Agents for configuration options.
Default stream profile for all streams from this source. Can be overridden per stream.See Stream Profiles for details.
Maximum concurrent streams allowed (0 = unlimited). Useful for provider connection limits.
Optional server group assignment for organizational purposes
Priority for VOD provider selection (higher = higher priority). When multiple providers offer the same content, the highest priority source is used.
Refresh Configuration
Automatic refresh interval in seconds. Set to 0 to disable automatic refresh.Common intervals:
3600- Every hour21600- Every 6 hours86400- Daily
Number of days after which streams not found in the M3U source will be automatically removed.This keeps your database clean when providers remove channels.
Stream Filtering
Filter which streams are imported from the M3U source using regex patterns.Filter Types
group- Match against channel group titlename- Match against stream nameurl- Match against stream URL
Regular expression pattern (case-insensitive)
true- Exclude matching itemsfalse- Include only matching items
Filter execution order (lower numbers execute first)
If no include filters exist, all non-excluded streams are imported. If include filters are defined, only streams matching at least one include filter are imported.
Source Status
M3U sources track their current status:| Status | Description |
|---|---|
idle | Waiting for next refresh |
fetching | Downloading M3U file from URL |
parsing | Processing M3U content and updating database |
success | Last refresh completed successfully |
error | Last refresh failed (see last_message for details) |
pending_setup | New source awaiting first refresh |
disabled | Source is inactive |
Account Profiles
Each M3U account automatically creates profiles for multi-credential support:Profile name (automatically created as ” Default”)
Whether this is the default profile for the account
Per-profile stream limit (inherits from parent account)
Regex pattern for URL transformation
Replacement pattern for URL transformation
Xtream Codes Profile Data
Xtream Codes Profile Data
Profiles for Xtream Codes sources automatically store account metadata:
exp_date- Account expiration timestampstatus- Account status (active/expired)max_connections- Provider connection limitactive_cons- Current active connectionslast_refresh- Last successful refresh time
custom_properties.user_info