Skip to content

Instantly share code, notes, and snippets.

@pboos
Last active February 19, 2023 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pboos/74eff790a73d58946bec3aff488bd070 to your computer and use it in GitHub Desktop.
Save pboos/74eff790a73d58946bec3aff488bd070 to your computer and use it in GitHub Desktop.
Plex IPTV - TV7

Based on: https://haefelfinger.ch/posts/2018/2018-10-31-fiber7-tv7-with-plex-media-server/

  1. Create telly config file

    Create file /volume1/docker/iptv/telly/telly.config.toml and replace contents YOUR_HOST_IP with your host ip.

  2. Update docker-compose.yaml

    Replace YOUR_HOST_IP with your host ip.

    Replace the volumes as needed.

  3. Start docker-compose.yaml

  4. Sync channels in tv7playlist

    • Navigate to http://your.tv7playlist.host:8000
    • Click on “Synchronize playlist”
    • Verify the URL and hit “Run synchronization”
    • You will be redirected to the startpage listing all channels
  5. Restart telly container (I did, but not sure if necessary)

  6. In plex

    TV: YOUR_HOST_IP:6077

    TV Guide: https://github.com/mathewmeconry/TV7_EPG_Data/raw/master/tv7_epg.xml.gz

version: "2.1"
services:
udpxy:
image: phaefelfinger/udpxy
container_name: udpxy
network_mode: host
restart: unless-stopped
tv7playlist:
image: phaefelfinger/tv7playlist
environment:
- UdpxyUrl=http://YOUR_HOST_IP:4022/udp
volumes:
- /volume1/docker/iptv/tv7playlist:/data
ports:
- 8000:80
restart: unless-stopped
telly:
image: tellytv/telly:dev-ffmpeg
container_name: telly
network_mode: host
environment:
- TZ=Europe/Zurich
volumes:
- /volume1/docker/iptv/telly/telly.config.toml:/etc/telly/telly.config.toml
restart: unless-stopped
[Discovery]
Device-Auth = "telly123"
Device-Friendly-Name = "TV7"
[IPTV]
FFMpeg = true
[Web]
Base-Address = "YOUR_HOST_IP:6077"
Listen-Address = "YOUR_HOST_IP:6077"
# I removed all sources except the last custom one:
[[Source]]
Name = "TV7"
Provider = "Custom"
M3U = "http://YOUR_HOST_IP:8000/api/playlist"
Sort = "group-title"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment