Overview
Dispatcharr integrates with Plex using HDHomeRun emulation, allowing Plex to discover Dispatcharr as a live TV tuner device. This enables you to:- Watch live TV channels in Plex
- Use Plex DVR to record programs
- Access your IPTV streams through Plex’s interface
- Organize channels using Plex’s TV guide
How It Works
Dispatcharr emulates an HDHomeRun network tuner device. Plex detects it as a physical TV tuner and can use it to:- Discover available channels via the lineup API
- Stream live TV using channel URLs
- Fetch EPG data for the TV guide
- Record programs using Plex DVR
Plex detects HDHomeRun devices automatically on the network. No manual configuration is needed if Dispatcharr and Plex are on the same network.
Setup Instructions
Ensure Dispatcharr is Running
Verify that Dispatcharr is accessible on your network. The default port is
9191.Test access by visiting: http://YOUR_SERVER_IP:9191Configure Channels
Before integrating with Plex, make sure you have:
- Added at least one M3U/Xtream Codes source
- Imported channels
- Configured EPG data
- Assigned channel numbers (required for Plex)
Add HDHomeRun Device to Plex
In Plex:
- Go to Settings → Live TV & DVR
- Click Set Up Plex DVR
- Plex should automatically detect Dispatcharr as an HDHomeRun device
- Select the detected device (will show as “Dispatcharr HDHomeRun”)
- Click Continue
Select Channels
Plex will fetch the channel lineup from Dispatcharr:
- Review the imported channels
- Select which channels you want to include
- Map EPG data if needed
- Click Continue
Configure EPG Source
Plex will ask for an EPG (Electronic Program Guide) source:
- Select Have an XMLTV guide on your server
- Enter the EPG URL from Dispatcharr:
- Click Continue
Replace
YOUR_SERVER_IP with your Dispatcharr server’s IP address. If using Docker, ensure the containers can communicate.Using Channel Profiles
You can create multiple HDHomeRun devices in Plex by using Channel Profiles in Dispatcharr:- Create different channel lineups for different Plex users
- Separate channels by category or source
- Manage multiple Plex servers with different content
API Endpoints
Dispatcharr provides the following HDHomeRun-compatible endpoints:| Endpoint | Description | Example |
|---|---|---|
/hdhr/discover.json | Device discovery info | Returns device model, tuner count, base URL |
/hdhr/lineup.json | Channel lineup | Lists all available channels with URLs |
/hdhr/lineup_status.json | Lineup status | Returns scan status and source type |
/hdhr/device.xml | Device XML | XML-formatted device information |
/proxy/ts/stream/{channel_uuid} | Stream URL | Actual stream endpoint for each channel |
Discovery Response Example
Lineup Response Example
Manual Device Configuration
If Plex doesn’t auto-detect Dispatcharr, you can manually configure it:Docker Networking Considerations
When running both Dispatcharr and Plex in Docker:Option 1: Host Network Mode
Option 2: Bridge Network with Manual Configuration
Option 3: Shared Docker Network
http://dispatcharr:9191
Troubleshooting
Plex Can’t Discover Dispatcharr
Channels Don’t Appear in Plex
- Verify channels have assigned channel numbers in Dispatcharr
- Check that channels are enabled in the active profile
- Refresh the channel lineup in Plex DVR settings
Streams Don’t Play
- Test the stream directly by opening the stream URL in VLC:
- Check Dispatcharr logs for stream errors
- Verify the original stream source is accessible
- Ensure your stream profile is configured correctly
EPG Data Missing
- Verify EPG sources are configured in Dispatcharr
- Check EPG mapping for channels
- Manually refresh EPG in Plex: Settings → Live TV & DVR → DVR Settings → Refresh Guide
- Test EPG URL directly in a browser:
Recording with Plex DVR
Plex DVR can record programs from Dispatcharr streams:- Navigate to Live TV in Plex
- Select a program from the guide
- Click Record
- Configure recording options (single episode, series, etc.)
- Recordings are stored in your Plex DVR library
Advanced Configuration
Custom Tuner Count
Dispatcharr reports a tuner count to Plex (default: 10). This can be adjusted in Dispatcharr settings to match your concurrent stream limits.Multiple Profiles for Different Plex Servers
Create separate channel profiles in Dispatcharr and use different URLs for each Plex server:- Server 1:
http://YOUR_IP:9191/hdhr/sports/discover.json - Server 2:
http://YOUR_IP:9191/hdhr/news/discover.json - Server 3:
http://YOUR_IP:9191/hdhr/entertainment/discover.json
Transcoding Considerations
Plex can transcode streams if needed. For optimal performance:- Use native Plex supported formats (H.264 video, AAC audio) in your streams
- Configure stream profiles in Dispatcharr to pre-transcode if needed
- Enable hardware transcoding in Plex for better performance