Media servers such as Plex, Jellyfin and Emby understand TV tuners much better than they understand playlists. Threadfin sits in between: it reads your M3U and XMLTV files and presents them as an HDHomeRun style tuner with a guide. It is a continuation of xTeVe, written in Go, MIT licence.
Source: Log in or register to see this link
Why bother
- Filtering. Out of a playlist with thousands of entries you pick the groups you want, and only those are shown to the media server.
- Mapping. You link each channel to its guide entry once, in a web page, and can fix names, numbers and logos.
- One connection point. The media server talks to Threadfin, and Threadfin talks to the source. With buffering switched on, several viewers of the same channel share one connection to the source.
Running it
There is a Docker image (fyb3roptik/threadfin). The web interface is on port 34400 under /web.
The order of setup is:
- Add the playlist.
- Add the XMLTV file.
- Create a filter, otherwise nothing is passed on.
- Go to mapping, activate the channels and choose the guide entry for each.
- In the media server, add a tuner by address and point it at Threadfin, then give it the XMLTV address that Threadfin shows.
Things to know
The number of “tuners” you set in Threadfin is the number of streams it will open at the same time. Set it to what your source actually allows. If the source permits two connections and you allow five, the third viewer breaks the first two.
The buffer option has a choice between its own HLS handling and FFmpeg or VLC. If a channel plays in VLC directly but not through Threadfin, switching the buffer to FFmpeg usually sorts it out.
Development is slower than a year or two ago, the last activity in the repository is from autumn 2025. It works, but check the issue list before you build something important on it.
Use it with sources you are entitled to use. The tool does not care, but this forum does.