Project

General

Profile

[Tutorial] Guide on how to turn livestreams from Youtube, Twitch, Facebook, etc., into IPTV channels using TVHeadend and a Python utility called Streamlink

Added by Carlos Gomes almost 4 years ago

Just wanted to share a tutorial I wrote on how to integrate TVHeadend and Streamlink to watch livestreams as if they were IPTV channels. You can read about it in detail on my blog: https://cgomesu.com/blog/Tvhlink

All programs are free and open-source and all livestream sources are publicly available and are provided by the copyright owners themselves via either platforms such as Youtube, Twitch, etc., or their official websites for anyone to use. The only actual requirement is either a GNU/Linux host (Debian, Ubuntu, Raspberry Pi OS, Armbian, Fedora, etc.) or Docker.

Here is a preview (no sound) of how the integration looks like with a few TVHeadend clients:

I have been using this integration for months now and it's been great. If you have TVHeadend already installed (either on a Linux host or Dockerized), the integration with Streamlink is rather trivial. For a Linux Server Docker image, I wrote a shell script that takes care of installing and updating Streamlink inside the container (https://github.com/cgomesu/tvhlink/blob/master/tools/docker/streamlink_for_tvh_container.sh). If you don't have a TVH server, the tutorial should make it easy to get one up and running in just a few minutes.

CG


Replies (3)

RE: [Tutorial] Guide on how to turn livestreams from Youtube, Twitch, Facebook, etc., into IPTV channels using TVHeadend and a Python utility called Streamlink - Added by M. Bergmann almost 4 years ago

Hello Carlos,

great tutorial! I have already been using the combination of streamlink-tvheadend-kodi to watch some argentine channels in Europe and it works great.
Did you also publish your tutorial on the streamlink-page? Would be a nice amendment to their existing tutorial.

RE: [Tutorial] Guide on how to turn livestreams from Youtube, Twitch, Facebook, etc., into IPTV channels using TVHeadend and a Python utility called Streamlink - Added by Carlos Gomes almost 4 years ago

Did you also publish your tutorial on the streamlink-page? Would be a nice amendment to their existing tutorial.

Which page are you referring to exactly?

    (1-3/3)