EPGs
Electronic Program Guide (EPG) data provides TV listings for your channels. M3U Editor supports multiple EPG sources.
Supported EPG Sources
- XMLTV Files - Local or remote XML files
- XMLTV URLs - Direct links to EPG data
- Schedules Direct - Full integration with SD service
Adding EPG Data
Via XMLTV URL
- Navigate to EPG in the sidebar
- Click Add EPG Source
- Select XMLTV URL
- Enter the EPG URL
- (Optional) Set refresh interval
- Click Save & Import
Via File Upload
- Navigate to EPG in the sidebar
- Click Add EPG Source
- Select Upload File
- Choose your XMLTV file
- Click Save & Import
Via Schedules Direct
- Navigate to EPG in the sidebar
- Click Add EPG Source
- Select Schedules Direct
- Enter your SD credentials
- Select lineups and channels
- Click Save & Import
Mapping EPG to Channels
After importing EPG data, you need to map it to your channels:
Automatic Mapping
M3U Editor tries to automatically match channels based on:
- Channel ID
- Channel name
- TVG ID
Manual Mapping
For channels that didn't auto-map:
- Go to your playlist's Channels
- Click on a channel
- Scroll to EPG Mapping
- Search for the correct EPG channel
- Click Map
EPG Preview
View the program guide:
- Navigate to EPG Preview
- Select your playlist
- Browse the TV guide
- Click on any program to see details
- (Optional) Click play to test the stream
EPG Cache Overview
For large EPG files, M3U Editor includes caching:
- Automatic Caching - Generated after EPG import
- Date-Chunked Storage - Efficient data retrieval
- Fast API Access - Instant program guide loading
The cache is automatically updated when EPG data is refreshed.
EPG Output
M3U Editor can generate EPG for your output playlists:
- Go to your playlist settings
- Enable Include EPG in Output
- Choose EPG format:
- Full XMLTV (all programs)
- Filtered (only mapped channels)
- Time-limited (e.g., 7 days)
Troubleshooting
EPG Not Showing
- Verify EPG import completed successfully
- Check channel mappings
- Ensure time zones are correct
- Refresh EPG cache
Slow EPG Loading
For very large EPG files:
- Enable EPG caching (automatic)
- Use time-limited outputs
- Filter to only needed channels
Next Steps
- EPG Cache Overview - EPG caching and optimization overview
- Auto-Merge Channels - Automatic channel management
- Docker Compose Deployments - Deploy to production