Skip to content

Instantly share code, notes, and snippets.

@jwmoss
Last active August 13, 2024 13:59
Show Gist options
  • Save jwmoss/58b5008205113a44d7ab95bbe0a0709b to your computer and use it in GitHub Desktop.
Save jwmoss/58b5008205113a44d7ab95bbe0a0709b to your computer and use it in GitHub Desktop.
Integrating IPTV and Plex

IPTV and Plex Setup

Flow of live TV

IPTVProvider's Xtreme API Credentials --> iptvproxy (converts xtreme api to .m3u file) --> xteve --> Plex Live TV

Flow of EPG (Electronic Programming Guide)

ScheduesDirect --> xteve (version from taylorbourne) runs a cronjob every hour to keep programming up to date

Requirements:

Setting up IPTV and IPTVProxy

  1. Obtain username and password from iptv provider. Example
  2. Add add the username/password to the docker varible for iptvproxy docker container. Example
  • Note: XTREAM_* variables you get from the iptv provider. USER and PASSWORD variables are your own proxied m3u file you use within xTeve.
  1. Your m3u file will be generated via the iptvproxy container, example: http://containerip:8080/get.php?username=USERNAME_YOU_GENERATED_FROM_IPTVPROXY_VARIABLE&password=PASSWORD_YOU_GENERATED_FROM_IPTVPROXY_VARIABLE&output=ts&type=m3u_plus

Setting up Xteve and Schedulesdirect

  1. In the xteve container, run docker exec -it dockername nameofxtevecontainer -configure /guide2go/whateveryouwant.yaml
  2. Step 1 will generate a .yaml file which contains the XMLTV mapping from schedules direct.
  3. In the next step, it will ask for an XMLTV file. This will be located locally (when it asks, use the /path/to/whateveryouwant.xml within the xteve container. When you run step 1, it generates an XML file (which gets updated reguarly, which is your live TV programming from schedulesdirect.
  4. Follow this (xTeve guide)[https://github.com/xteve-project/xTeVe-Documentation/blob/master/en/configuration.md#configuration-wizard] and put the m3u from step 3 in and XMLTV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment